CommentThread$Typings extension

on

Properties

canReply bool
Whether the thread supports reply. Defaults to true.
getter/setter pair
collapsibleState CommentThreadCollapsibleState
Whether the thread should be collapsed or expanded when opening the document. Defaults to Collapsed.
getter/setter pair
comments List<Comment>
The ordered comments of the thread.
getter/setter pair
contextValue String?
Context value of the comment thread. This can be used to contribute thread specific actions. For example, a comment thread is given a context value as editable. When contributing actions to comments/commentThread/title using menus extension point, you can specify context value for key commentThread in when expression like commentThread == editable.
getter/setter pair
dispose ↔ void Function()
getter/setter pair
label String?
The optional human-readable label describing the {@link CommentThread Comment Thread}
getter/setter pair
range Range
The range the comment thread is located within the document. The thread icon will be shown at the last line of the range.
getter/setter pair
state CommentThreadState?
The optional state of a comment thread, which may affect how the comment is displayed.
getter/setter pair
uri Uri
The uri of the document the thread has been created on.
no setter