(changes code-fix-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-fix-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-fix-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`
(fix-all-description code-fix-action)
Returns: string | undefined
**Returns:** `string | undefined`
(fix-id code-fix-action)
If present, one may call 'getCombinedCodeFix' with this fixId. This may be omitted to indicate that the code fix can't be applied in a group.
Returns: {} | undefined
If present, one may call 'getCombinedCodeFix' with this fixId. This may be omitted to indicate that the code fix can't be applied in a group. **Returns:** `{} | undefined`
(fix-name code-fix-action)
Short name to identify the fix, for use by telemetry.
Returns: string
Short name to identify the fix, for use by telemetry. **Returns:** `string`
(set-changes! code-fix-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-fix-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-fix-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
(set-fix-id! code-fix-action value)
If present, one may call 'getCombinedCodeFix' with this fixId. This may be omitted to indicate that the code fix can't be applied in a group.
If present, one may call 'getCombinedCodeFix' with this fixId. This may be omitted to indicate that the code fix can't be applied in a group.
(set-fix-name! code-fix-action value)
Short name to identify the fix, for use by telemetry.
Short name to identify the fix, for use by telemetry.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close