interface CommentsMain { $createCommentThread(handle,
commentThreadHandle,
threadId,
resource,
range,
extensionId): undefined | CommentThread; $deleteCommentThread(handle,
commentThreadHandle): void; $onDidCommentThreadsChange(handle,
event): void; $registerCommentController(handle,
id,
label): void; $unregisterCommentController(handle): void; $updateCommentControllerFeatures(handle,
features): void; $updateCommentThread(handle,
commentThreadHandle,
threadId,
resource,
changes): void; } Methods
$createCommentThread
- $createCommentThread(handle, commentThreadHandle, threadId, resource, range, extensionId): undefined | CommentThread
Parameters
- handle: number
- commentThreadHandle: number
- threadId: string
- resource: UriComponents
- range: Range
- extensionId: string
$deleteCommentThread
- $deleteCommentThread(handle, commentThreadHandle): void
Parameters
- handle: number
- commentThreadHandle: number
Returns void
$onDidCommentThreadsChange
- $onDidCommentThreadsChange(handle, event): void
Returns void
$registerCommentController
- $registerCommentController(handle, id, label): void
Parameters
- handle: number
- id: string
- label: string
Returns void
$unregisterCommentController
- $unregisterCommentController(handle): void
Returns void
$updateCommentControllerFeatures
- $updateCommentControllerFeatures(handle, features): void
Returns void
$updateCommentThread
- $updateCommentThread(handle, commentThreadHandle, threadId, resource, changes): void
Returns void