Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommentsService

Hierarchy

  • CommentsService

Index

Properties

onDidChangeActiveCommentThread: Event<null | CommentThread>
onDidChangeActiveCommentingRange: Event<{ commentingRangesInfo: CommentingRanges; range: Range }>
onDidDeleteDataProvider: Event<string>
onDidSetAllCommentThreads: Event<WorkspaceCommentThreadsEventMain>
onDidSetDataProvider: Event<void>
onDidSetResourceCommentInfos: Event<ResourceCommentThreadEvent>
onDidUpdateCommentThreads: Event<CommentThreadChangedEventMain>

Methods

  • createCommentThreadTemplate(owner: string, resource: URI, range: Range): void
  • disposeCommentThread(ownerId: 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>