Methods
$createCommentThread
- $createCommentThread(handle: number, commentThreadHandle: number, threadId: string, resource: UriComponents, range: Range, extensionId: string): undefined | CommentThread
Parameters
handle: number
commentThreadHandle: number
threadId: string
resource: UriComponents
extensionId: string
$deleteCommentThread
- $deleteCommentThread(handle: number, commentThreadHandle: number): void
Parameters
handle: number
commentThreadHandle: number
Returns void
$onDidCommentThreadsChange
$registerCommentController
- $registerCommentController(handle: number, id: string, label: string): void
Parameters
handle: number
id: string
label: string
Returns void
$unregisterCommentController
- $unregisterCommentController(handle: number): void
$updateCommentControllerFeatures
$updateCommentThread
- $updateCommentThread(handle: number, commentThreadHandle: number, threadId: string, resource: UriComponents, changes: Partial<{ canReply: boolean; collapseState: CommentThreadCollapsibleState; comments: Comment[]; contextValue: string; label: string; range: Range; state: CommentThreadState }>): void