new input verification of configurations.intelliSenseMode fails to verify msvc-x{86|64} if configurations.compilerPath contains a variable #4141
Labels
bug
Feature: Configuration
An issue related to configuring the extension or IntelliSense
fixed
Check the Milestone for the release in which the fix is or will be available.
regression
A bug that didn't exist in a previous release
Milestone
Type: LanguageService
Describe the bug
To Reproduce
Example configuration in
c_cpp_properties.json
triggering the issue:Problems reported for the above configuration:
intelliSenseMode msvc-x64 is incompatible with compilerPath.
Expected behavior
No problems reported, as the expanded
compilerPath
is a valid compiler formsvc-x64
mode.Additional context
In function
isCompilerIntelliSenseModeCompatible
,util.extractCompilerPathAndArgs
is called with the unexpanded compiler path, which only expects expanded paths.vscode-cpptools/Extension/src/LanguageServer/configurations.ts
Line 406 in 3251ee5
The text was updated successfully, but these errors were encountered: