diff --git a/src/vscode-dts/vscode.d.ts b/src/vscode-dts/vscode.d.ts index 5266ffe9717..e2e13e4ab1d 100644 --- a/src/vscode-dts/vscode.d.ts +++ b/src/vscode-dts/vscode.d.ts @@ -6477,6 +6477,21 @@ declare module 'vscode' { */ export type CharacterPair = [string, string]; + /** + * Configuration for line comments. + */ + export interface LineCommentRule { + /** + * The line comment token, like `//` + */ + comment: string; + /** + * Whether the comment token should not be indented and placed at the first column. + * Defaults to false. + */ + noIndent?: boolean; + } + /** * Describes how comments for a language work. */ @@ -6485,7 +6500,7 @@ declare module 'vscode' { /** * The line comment token, like `// this is a comment` */ - lineComment?: string; + lineComment?: string | LineCommentRule; /** * The block comment character pair, like `/* block comment */`