⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Documentation for lineComment in language-configuration.json is out-of-date #9210

@eisenwave

Description

@eisenwave

"comments": {
"lineComment": "//",
"blockComment": ["/*", "*/"]
},

Following this format gives me a warning:

Image

That is because at some point, the lineComment property got expanded from being just a string to being an object with comment and noIndent property.

https://github.com/microsoft/vscode/blob/d2894816734dc9141885b802805801b67d70e6e9/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.ts#L549C5-L565

Metadata

Metadata

Assignees

No one assigned

    Labels

    API documentationAPI reference issuesbugIssue identified by VS Code Team member as probable bugdoc-bugout of date, inaccurate, confusing content

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions