Skip to content

"Comments are not permitted in JSON" appears when c_cpp_properties.json is open but hasn't been made active yet #6132

@sean-mcmanus

Description

@sean-mcmanus

It goes away after the c_cpp_properties.json is made active. Not sure if there's a way to call setTextDocumentLanguage on the files open in the workspace beforehand.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions