Theia API Documentation v1.65.0
    Preparing search index...
    interface CommentsMain {
        $createCommentThread(
            handle: number,
            commentThreadHandle: number,
            threadId: string,
            resource: UriComponents,
            range: undefined | Range,
            extensionId: string,
        ): undefined | CommentThread;
        $deleteCommentThread(handle: number, commentThreadHandle: number): void;
        $onDidCommentThreadsChange(
            handle: number,
            event: CommentThreadChangedEvent,
        ): void;
        $registerCommentController(handle: number, id: string, label: string): void;
        $unregisterCommentController(handle: number): void;
        $updateCommentControllerFeatures(
            handle: number,
            features: CommentProviderFeatures,
        ): void;
        $updateCommentThread(
            handle: number,
            commentThreadHandle: number,
            threadId: string,
            resource: UriComponents,
            changes: CommentThreadChanges,
        ): void;
    }
    Index

    Methods

    • Parameters

      • handle: number
      • commentThreadHandle: number
      • threadId: string
      • resource: UriComponents
      • range: undefined | Range
      • extensionId: string

      Returns undefined | CommentThread

    • Parameters

      • handle: number
      • commentThreadHandle: number

      Returns void

    • Parameters

      • handle: number
      • id: string
      • label: string

      Returns void

    • Parameters

      • handle: number

      Returns void

    • Parameters

      Returns void

    • Parameters

      Returns void