Skip to content

Error message in Multi-root project using compile_commands.json does not have enough information #5160

@bobbrow

Description

@bobbrow

Copying this issue over to cpptools where it would need to be addressed.

Originally posted by @sslupsky in microsoft/vscode-cmake-tools#1120 (comment)

One observation is that the error message that indicates an error with the configuration would benefit with additional information about what exactly it is referring to. Here is a screen shot:
Screen Shot 2020-03-20 at 12 52 50 PM
What is not clear is which configuration it is referring to. Does the message refer to the configuration in the .code-workspace file or one of the configurations in the c_cpp_properties.json file?

I copied a project directory and renamed it. I have opened the copy and I get the message in the screen shot above. I'm trying to run down where the problem is and it is not obvious.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions