Constructors
constructor
Parameters
_handle: number
_uniqueId: string
_id: string
_label: string
Properties
Optional activeCommentThread
Accessors
contextValue
- get contextValue(): string
Methods
createCommentThread
- createCommentThread(extensionId: string, commentThreadHandle: number, threadId: string, resource: UriComponents, range: Range): CommentThread
Parameters
extensionId: string
commentThreadHandle: number
threadId: string
resource: UriComponents
createCommentThreadTemplate
- createCommentThreadTemplate(resource: UriComponents, range: Range): void
deleteCommentThread
- deleteCommentThread(commentThreadHandle: number): void
Parameters
commentThreadHandle: number
Returns void
deleteCommentThreadMain
- deleteCommentThreadMain(commentThreadId: string): void
getCommentingRanges
- getCommentingRanges(resource: URI, token: CancellationToken): Promise<Range[]>
Parameters
resource: URI
token: CancellationToken
Returns Promise<Range[]>
getDocumentComments
- getDocumentComments(resource: URI, token: CancellationToken): Promise<CommentInfoMain>
Parameters
resource: URI
token: CancellationToken
Private getKnownThread
Parameters
commentThreadHandle: number
updateCommentThreadTemplate
- updateCommentThreadTemplate(threadHandle: number, range: Range): Promise<void>
Parameters
Returns Promise<void>
updateInput
- updateInput(input: string): void