Liking cljdoc? Tell your friends :D

dots.vscode.comment

A comment is displayed within the editor or the Comments Panel, depending on how it is provided.

A comment is displayed within the editor or the Comments Panel, depending on how it is provided.
raw docstring

authorcljs

(author comment)

The {@link CommentAuthorInformation author information} of the comment

The {@link CommentAuthorInformation author information} of the comment
sourceraw docstring

bodycljs

(body comment)

The human-readable comment body

The human-readable comment body
sourceraw docstring

context-valuecljs

(context-value comment)

Context value of the comment. This can be used to contribute comment specific actions. For example, a comment is given a context value as editable. When contributing actions to comments/comment/title using menus extension point, you can specify context value for key comment in when expression like comment == editable.

"contributes": {
	"menus": {
		"comments/comment/title": [
			{
				"command": "extension.deleteComment",
				"when": "comment == editable"
			}
		]
	}
}

This will show action extension.deleteComment only for comments with contextValue is editable.

Context value of the comment. This can be used to contribute comment specific actions.
For example, a comment is given a context value as `editable`. When contributing actions to `comments/comment/title`
using `menus` extension point, you can specify context value for key `comment` in `when` expression like `comment == editable`.
```json
"contributes": {
	"menus": {
		"comments/comment/title": [
			{
				"command": "extension.deleteComment",
				"when": "comment == editable"
			}
		]
	}
}
```
This will show action `extension.deleteComment` only for comments with `contextValue` is `editable`.
sourceraw docstring

labelcljs

(label comment)

Optional label describing the {@link Comment } Label will be rendered next to authorName if exists.

Optional label describing the {@link Comment }
Label will be rendered next to authorName if exists.
sourceraw docstring

modecljs

(mode comment)

{@link CommentMode Comment mode} of the comment

{@link CommentMode Comment mode} of the comment
sourceraw docstring

reactionscljs

(reactions comment)

Optional reactions of the {@link Comment }

Optional reactions of the {@link Comment }
sourceraw docstring

set-author!cljs

(set-author! comment value)

The {@link CommentAuthorInformation author information} of the comment

The {@link CommentAuthorInformation author information} of the comment
sourceraw docstring

set-body!cljs

(set-body! comment value)

The human-readable comment body

The human-readable comment body
sourceraw docstring

set-context-value!cljs

(set-context-value! comment value)

Context value of the comment. This can be used to contribute comment specific actions. For example, a comment is given a context value as editable. When contributing actions to comments/comment/title using menus extension point, you can specify context value for key comment in when expression like comment == editable.

"contributes": {
	"menus": {
		"comments/comment/title": [
			{
				"command": "extension.deleteComment",
				"when": "comment == editable"
			}
		]
	}
}

This will show action extension.deleteComment only for comments with contextValue is editable.

Context value of the comment. This can be used to contribute comment specific actions.
For example, a comment is given a context value as `editable`. When contributing actions to `comments/comment/title`
using `menus` extension point, you can specify context value for key `comment` in `when` expression like `comment == editable`.
```json
"contributes": {
	"menus": {
		"comments/comment/title": [
			{
				"command": "extension.deleteComment",
				"when": "comment == editable"
			}
		]
	}
}
```
This will show action `extension.deleteComment` only for comments with `contextValue` is `editable`.
sourceraw docstring

set-label!cljs

(set-label! comment value)

Optional label describing the {@link Comment } Label will be rendered next to authorName if exists.

Optional label describing the {@link Comment }
Label will be rendered next to authorName if exists.
sourceraw docstring

set-mode!cljs

(set-mode! comment value)

{@link CommentMode Comment mode} of the comment

{@link CommentMode Comment mode} of the comment
sourceraw docstring

set-reactions!cljs

(set-reactions! comment value)

Optional reactions of the {@link Comment }

Optional reactions of the {@link Comment }
sourceraw docstring

set-timestamp!cljs

(set-timestamp! comment value)

Optional timestamp that will be displayed in comments. The date will be formatted according to the user's locale and settings.

Optional timestamp that will be displayed in comments.
The date will be formatted according to the user's locale and settings.
sourceraw docstring

timestampcljs

(timestamp comment)

Optional timestamp that will be displayed in comments. The date will be formatted according to the user's locale and settings.

Optional timestamp that will be displayed in comments.
The date will be formatted according to the user's locale and settings.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close