(changes code-action)
Text changes to apply to each file as part of the code action
Returns: FileTextChanges[]
Text changes to apply to each file as part of the code action **Returns:** `FileTextChanges[]`
(commands code-action)
If the user accepts the code fix, the editor should send the action back in a applyAction
request.
This allows the language service to have side effects (e.g. installing dependencies) upon a code fix.
Returns: InstallPackageAction[] | undefined
If the user accepts the code fix, the editor should send the action back in a `applyAction` request. This allows the language service to have side effects (e.g. installing dependencies) upon a code fix. **Returns:** `InstallPackageAction[] | undefined`
(description code-action)
Description of the code action to display in the UI of the editor
Returns: string
Description of the code action to display in the UI of the editor **Returns:** `string`
(set-changes! code-action value)
Text changes to apply to each file as part of the code action
Text changes to apply to each file as part of the code action
(set-commands! code-action value)
If the user accepts the code fix, the editor should send the action back in a applyAction
request.
This allows the language service to have side effects (e.g. installing dependencies) upon a code fix.
If the user accepts the code fix, the editor should send the action back in a `applyAction` request. This allows the language service to have side effects (e.g. installing dependencies) upon a code fix.
(set-description! code-action value)
Description of the code action to display in the UI of the editor
Description of the code action to display in the UI of the editor
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close