Configuring VS Code for ICU4C
Contents
- Create a
.vscodefolder in icu4c/source - Copy the
tasks.json,launch.jsonandc_cpp_properties.jsonfiles into the.vscodefolder. - To test only specific test targets, specify them under
argsinlaunch.json. - To adjust the parallelism when building, adjust the
argsintasks.json.-l20tells VSCode to not launch jobs if the system load average is above 20 (note that the system load average is not a CPU usage percentage).-j24limits the number of jobs launched in parallel to 24. The system load average takes a while to respond, reducing this number helps the initial bad system performance when a new build is launched.
NOTE: Run the ./runConfigureICU command before building icu4c from VSCode.