Constructors
constructor
- new CommentController(_proxy, _commentService, _handle, _uniqueId, _id, _label, _features): CommentController
Properties
Private
Readonly
_commentService
Private
Readonly
_handle
_handle: number
Private
Readonly
_id
_id: string
Private
Readonly
_label
_label: string
Private
Readonly
_uniqueId
_uniqueId: string
Optional
activeCommentThread
Accessors
contextValue
- get contextValue(): string
Returns string
handle
- get handle(): number
Returns number
id
- get id(): string
Returns string
label
- get label(): string
Returns string
Methods
createCommentThread
- createCommentThread(extensionId, commentThreadHandle, threadId, resource, range): CommentThread
Parameters
- extensionId: string
- commentThreadHandle: number
- threadId: string
- resource: UriComponents
- range: Range
createCommentThreadTemplate
- createCommentThreadTemplate(resource, range): void
Parameters
- resource: UriComponents
- range: Range
Returns void
deleteCommentThread
- deleteCommentThread(commentThreadHandle): void
Parameters
- commentThreadHandle: number
Returns void
deleteCommentThreadMain
- deleteCommentThreadMain(commentThreadId): void
Returns void
getCommentingRanges
- getCommentingRanges(resource, token): Promise<Range[]>
Parameters
- resource: URI
- token: CancellationToken
Returns Promise<Range[]>
getDocumentComments
- getDocumentComments(resource, token): Promise<CommentInfoMain>
Parameters
- resource: URI
- token: CancellationToken
Private
getKnownThread
- getKnownThread(commentThreadHandle): CommentThreadImpl
Parameters
- commentThreadHandle: number
updateCommentThread
- updateCommentThread(commentThreadHandle, threadId, resource, changes): void
Returns void
updateCommentThreadTemplate
- updateCommentThreadTemplate(threadHandle, range): Promise<void>
Parameters
- threadHandle: number
- range: Range
Returns Promise<void>
updateFeatures
- updateFeatures(features): void
Returns void
updateInput
- updateInput(input): void
Returns void