Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PluginCommentService

Implements

Index

Constructors

Properties

commentControls: Map<string, CommentController> = ...
onDidChangeActiveCommentThread: Event<null | CommentThread> = ...
onDidChangeActiveCommentThreadEmitter: Emitter<null | CommentThread> = ...
onDidChangeActiveCommentingRange: Event<{ commentingRangesInfo: CommentingRanges; range: Range }> = ...
onDidChangeActiveCommentingRangeEmitter: Emitter<{ commentingRangesInfo: CommentingRanges; range: Range }> = ...
onDidDeleteDataProvider: Event<string> = ...
onDidDeleteDataProviderEmitter: Emitter<string> = ...
onDidSetAllCommentThreads: Event<WorkspaceCommentThreadsEventMain> = ...
onDidSetAllCommentThreadsEmitter: Emitter<WorkspaceCommentThreadsEventMain> = ...
onDidSetDataProvider: Event<void> = ...
onDidSetDataProviderEmitter: Emitter<void> = ...
onDidSetResourceCommentInfos: Event<ResourceCommentThreadEvent> = ...
onDidSetResourceCommentInfosEmitter: Emitter<ResourceCommentThreadEvent> = ...
onDidUpdateCommentThreads: Event<CommentThreadChangedEventMain> = ...
onDidUpdateCommentThreadsEmitter: Emitter<CommentThreadChangedEventMain> = ...

Methods

  • createCommentThreadTemplate(owner: string, resource: URI, range: Range): void
  • disposeCommentThread(owner: string, threadId: string): void
  • getCommentingRanges(resource: URI): Promise<Range[]>
  • removeWorkspaceComments(owner: string): void
  • setActiveCommentThread(commentThread: null | CommentThread): void
  • setWorkspaceComments(owner: string, commentsByResource: CommentThread[]): void
  • unregisterCommentController(owner: string): void
  • updateCommentThreadTemplate(owner: string, threadHandle: number, range: Range): Promise<void>