Fix #92794. allow customize placeholder for input box

This commit is contained in:
rebornix
2020-04-27 16:12:58 -07:00
parent bfe0bb0e98
commit 0421b831ad
6 changed files with 60 additions and 4 deletions

View File

@@ -451,6 +451,18 @@ class ExtHostCommentController implements vscode.CommentController {
this._proxy.$updateCommentControllerFeatures(this.handle, { reactionHandler: !!handler });
}
private _options: modes.CommentOptions | undefined;
get options() {
return this._options;
}
set options(options: modes.CommentOptions | undefined) {
this._options = options;
this._proxy.$updateCommentControllerFeatures(this.handle, { options: this._options });
}
constructor(
private _extension: IExtensionDescription,
private _handle: number,