Liking cljdoc? Tell your friends :D

dots.vscode.code-action-provider-metadata

Metadata about the type of code actions that a {@link CodeActionProvider } provides.

Metadata about the type of code actions that a {@link CodeActionProvider } provides.
raw docstring

documentationcljs

(documentation code-action-provider-metadata)

Static documentation for a class of code actions.

Documentation from the provider is shown in the code actions menu if either:

  • Code actions of kind are requested by the editor. In this case, the editor will show the documentation that most closely matches the requested code action kind. For example, if a provider has documentation for both Refactor and RefactorExtract, when the user requests code actions for RefactorExtract, the editor will use the documentation for RefactorExtract instead of the documentation for Refactor.

  • Any code actions of kind are returned by the provider.

At most one documentation entry will be shown per provider.

Static documentation for a class of code actions.

Documentation from the provider is shown in the code actions menu if either:

- Code actions of `kind` are requested by the editor. In this case, the editor will show the documentation that
  most closely matches the requested code action kind. For example, if a provider has documentation for
  both `Refactor` and `RefactorExtract`, when the user requests code actions for `RefactorExtract`,
  the editor will use the documentation for `RefactorExtract` instead of the documentation for `Refactor`.

- Any code actions of `kind` are returned by the provider.

At most one documentation entry will be shown per provider.
sourceraw docstring

provided-code-action-kindscljs

(provided-code-action-kinds code-action-provider-metadata)

List of {@link CodeActionKind CodeActionKinds} that a {@link CodeActionProvider } may return.

This list is used to determine if a given CodeActionProvider should be invoked or not. To avoid unnecessary computation, every CodeActionProvider should list use providedCodeActionKinds. The list of kinds may either be generic, such as [CodeActionKind.Refactor], or list out every kind provided, such as [CodeActionKind.Refactor.Extract.append('function'), CodeActionKind.Refactor.Extract.append('constant'), ...].

List of {@link CodeActionKind CodeActionKinds} that a {@link CodeActionProvider } may return.

This list is used to determine if a given `CodeActionProvider` should be invoked or not.
To avoid unnecessary computation, every `CodeActionProvider` should list use `providedCodeActionKinds`. The
list of kinds may either be generic, such as `[CodeActionKind.Refactor]`, or list out every kind provided,
such as `[CodeActionKind.Refactor.Extract.append('function'), CodeActionKind.Refactor.Extract.append('constant'), ...]`.
sourceraw docstring

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

× close