use explict api instead of commands for commenting.

This commit is contained in:
Peng Lyu
2018-05-16 19:14:13 -07:00
parent 26ec624af6
commit 41f1722166
11 changed files with 299 additions and 178 deletions

View File

@@ -869,6 +869,8 @@ export interface ExtHostProgressShape {
export interface ExtHostCommentsShape {
$provideDocumentComments(handle: number, document: UriComponents): TPromise<modes.CommentInfo>;
$createNewCommentThread?(handle: number, document: UriComponents, range: IRange, text: string): TPromise<modes.CommentThread>;
$replyToCommentThread?(handle: number, document: UriComponents, range: IRange, commentThread: modes.CommentThread, text: string): TPromise<modes.CommentThread>;
$provideWorkspaceComments(handle: number): TPromise<modes.CommentThread[]>;
}