Private
_canPrivate
_commentsPrivate
_contextPrivate
_idPrivate
_isPrivate
_labelPrivate
Readonly
_onPrivate
_rangePrivate
Optional
_statePrivate
_uriPrivate
acceptPrivate
Optional
collapsePrivate
commentPrivate
commentsReadonly
handlePrivate
localPrivate
modificationsReadonly
onPrivate
proxyStatic
Private
_handleWhether the thread supports reply. Defaults to true.
Whether the thread supports reply. Defaults to true.
Whether the thread should be collapsed or expanded when opening the document. Defaults to Collapsed.
Whether the thread should be collapsed or expanded when opening the document. Defaults to Collapsed.
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
.
"contributes": {
"menus": {
"comments/commentThread/title": [
{
"command": "extension.deleteCommentThread",
"when": "commentThread == editable"
}
]
}
}
This will show action extension.deleteCommentThread
only for comment threads with contextValue
is editable
.
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
.
"contributes": {
"menus": {
"comments/commentThread/title": [
{
"command": "extension.deleteCommentThread",
"when": "commentThread == editable"
}
]
}
}
This will show action extension.deleteCommentThread
only for comment threads with contextValue
is editable
.
The optional human-readable label describing the Comment Thread
The optional human-readable label describing the Comment Thread
The range the comment thread is located within the document. The thread icon will be shown at the first line of the range.
The range the comment thread is located within the document. The thread icon will be shown at the first line of the range.
The optional state of a comment thread, which may affect how the comment is displayed.
The optional state of a comment thread, which may affect how the comment is displayed.
A collection of comments representing a conversation at a particular range in a document.