• Home
Name Date Size #Lines LOC

..--

README.mdD07-Sep-20241 KiB2418

c_cpp_properties.jsonD07-Sep-2024573 2121

launch.jsonD07-Sep-20244.3 KiB103102

tasks.jsonD07-Sep-20241.2 KiB3837

README.md

1<!--- © 2020 and later: Unicode, Inc. and others. --->
2<!--- License & terms of use: http://www.unicode.org/copyright.html --->
3
4# Configuring VS Code for ICU4C
5
6  - Create a `.vscode` folder in icu4c/source
7  - Copy the `tasks.json`, `launch.json` and `c_cpp_properties.json` files into
8    the `.vscode` folder.
9  - To test only specific test targets, specify them under `args` in
10    `launch.json`.
11  - To adjust the parallelism when building, adjust the `args` in `tasks.json`.
12    - `-l20` tells VSCode to not launch jobs if the system load average is above
13      20 (note that the [system load
14      average](https://en.wikipedia.org/wiki/Load_(computing)) is *not* a CPU
15      usage percentage).
16    - `-j24` limits the number of jobs launched in parallel to 24. The system
17      load average takes a while to respond, reducing this number helps the
18      initial bad system performance when a new build is launched.
19
20NOTE:
21Run the
22[`./runConfigureICU` command](https://unicode-org.github.io/icu/userguide/icufaq)
23before building `icu4c` from VSCode.
24