Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExtHostCommentThread

Hierarchy

  • ExtHostCommentThread

Implements

  • CommentThread
  • Disposable

Index

Constructors

constructor

  • new ExtHostCommentThread(proxy: CommentsMain, commentController: CommentController, _id: undefined | string, _uri: Uri, _range: Range, _comments: Comment[], extensionId: string): ExtHostCommentThread

Properties

Private _contextValue

_contextValue: undefined | string

Private _isDisposed

_isDisposed: boolean

Private _label

_label: undefined | string

Private Readonly _onDidUpdateCommentThread

_onDidUpdateCommentThread: Emitter<void> = ...

Private acceptInputDisposables

acceptInputDisposables: DisposableCollection = ...

Private Optional collapseState

collapseState: Collapsed | Expanded

commentHandle

commentHandle: number = 0

Private commentsMap

commentsMap: Map<Comment, number> = ...

Readonly handle

handle: number = ...

Private localDisposables

localDisposables: Disposable[]

Private modifications

modifications: Partial<{ collapsibleState: CommentThreadCollapsibleState; comments: Comment[]; contextValue: undefined | string; label: undefined | string; range: Range }> = ...

Readonly onDidUpdateCommentThread

onDidUpdateCommentThread: Event<void> = ...

Static Private _handlePool

_handlePool: number = 0

Accessors

collapsibleState

  • get collapsibleState(): CommentThreadCollapsibleState
  • set collapsibleState(newState: CommentThreadCollapsibleState): void

comments

  • get comments(): Comment[]
  • set comments(newComments: Comment[]): void

contextValue

  • get contextValue(): undefined | string
  • set contextValue(context: undefined | string): void

id

  • get id(): string

isDisposed

  • get isDisposed(): boolean

label

  • get label(): undefined | string
  • set label(label: undefined | string): void

range

  • get range(): Range
  • set range(range: Range): void

resource

  • get resource(): Uri

threadId

  • get threadId(): string
  • set threadId(id: string): void

uri

  • get uri(): Uri

Methods

dispose

  • dispose(): void

eventuallyUpdateCommentThread

  • eventuallyUpdateCommentThread(): void

getCommentByUniqueId

  • getCommentByUniqueId(uniqueId: number): undefined | Comment