(sigil lsp code-actions)
(sigil lsp code-actions) - Quick-fix code actions.
Provides two quick-fixes in v1:
- "Import <module>" for unbound identifiers, driven by (sigil docs search).
- "Remove unused import" for unused-imports lint warnings, driven by the
datapayload on those diagnostics.
Exports
compute-code-actionsprocedureReturn a list of CodeAction dicts for URI within RANGE, given the set of CONTEXT-DIAGNOSTICS that the client says are active there.