Skip to content

Conversation

Colengms
Copy link
Contributor

We have a (undocumented) feature that allows a full command line to be provided in the compilerPath field of c_cpp_properties.json. This feature is useful for providing a command line that contains shell escaping (as shell escaping is not supported in the compilerArgs field. The concept of shell escaping is implicitly linked to the concept of a 'command line', and not necessarily linked to 'args'). It looks like this support has been broken for a while.

This is fixed by specifying false to resolvePath for both replaceAsterisks and assumeRelative.

The other change is a result of formatting the document.

@Colengms Colengms marked this pull request as draft September 26, 2024 23:39
@Colengms Colengms marked this pull request as ready for review September 26, 2024 23:39
@Colengms Colengms merged commit c65b11b into main Sep 26, 2024
5 checks passed
@Colengms Colengms deleted the coleng/fix_compilerPath_command_line branch September 26, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants