Skip to content

BUG: compilerPath is not properly set when compile_commands.json is loaded from a default setting #2793

@g-arjones

Description

@g-arjones

Type: LanguageService

Describe the bug

  • OS and Version: Ubuntu 16.04
  • VS Code Version: 1.28.2
  • C/C++ Extension Version: 0.20.1
  • Other extensions you installed (and if the issue persists after disabling them): None
  • A clear and concise description of what the bug is.

If I set the compiler commands database path for each folder in a workspace (in .vscode/c_cpp_properties.json) the compilerPath setting is properly set. If, however, I set it as a default value for the entire workspace (C_Cpp.default.compileCommands in the .code-workspace file), then compilerPath is not set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions