diff --git a/src/vs/vscode.d.ts b/src/vs/vscode.d.ts index 461c4b4e58bc4..ade44325fbc4d 100644 --- a/src/vs/vscode.d.ts +++ b/src/vs/vscode.d.ts @@ -10898,6 +10898,21 @@ declare module 'vscode' { provideCommentingRanges(document: TextDocument, token: CancellationToken): ProviderResult; } + /** + * Represents a [comment controller](#CommentController)'s [options](#CommentController.options). + */ + export interface CommentOptions { + /** + * An optional string to show on the comment input box when it's collapsed. + */ + prompt?: string; + + /** + * An optional string to show as placeholder in the comment input box when it's focused. + */ + placeHolder?: string; + } + /** * A comment controller is able to provide [comments](#CommentThread) support to the editor and * provide users various ways to interact with comments. @@ -10913,6 +10928,11 @@ declare module 'vscode' { */ readonly label: string; + /** + * Comment controller options + */ + options?: CommentOptions; + /** * Optional commenting range provider. Provide a list [ranges](#Range) which support commenting to any given resource uri. * diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 4ba8c4269ae12..2b42ca4451f52 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -2080,26 +2080,4 @@ declare module 'vscode' { } //#endregion - - //#region Comment - export interface CommentOptions { - /** - * An optional string to show on the comment input box when it's collapsed. - */ - prompt?: string; - - /** - * An optional string to show as placeholder in the comment input box when it's focused. - */ - placeHolder?: string; - } - - export interface CommentController { - /** - * Comment controller options - */ - options?: CommentOptions; - } - - //#endregion }