Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix an issue preventing use of a full command line in compilerPath #12774

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

Colengms
Copy link
Collaborator

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