Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommentsExtImpl

Hierarchy

  • CommentsExtImpl

Implements

Index

Constructors

constructor

Properties

Readonly _documents

_documents: DocumentsExtImpl

Readonly commands

Private Readonly commentControllers

commentControllers: Map<number, CommentController> = ...

Private Readonly commentControllersByExtension

commentControllersByExtension: Map<string, CommentController[]> = ...

Private handle

handle: number = 0

Private Readonly proxy

Readonly rpc

Methods

$createCommentThreadTemplate

  • $createCommentThreadTemplate(commentControllerHandle: number, uriComponents: UriComponents, range: Range): void

$deleteCommentThread

  • $deleteCommentThread(commentControllerHandle: number, commentThreadHandle: number): Promise<void>

$provideCommentingRanges

  • $provideCommentingRanges(commentControllerHandle: number, uriComponents: UriComponents, token: CancellationToken): Promise<undefined | Range[]>

$updateCommentThreadTemplate

  • $updateCommentThreadTemplate(commentControllerHandle: number, threadHandle: number, range: Range): Promise<void>

createCommentController

  • createCommentController(plugin: Plugin, id: string, label: string): CommentController