Expand description
Code actions for diagnostic suggestions (ADR-0091 Phase 2).
Every JsonDiagnostic.suggestions entry the compiler produces becomes
a quickfix code action when the editor’s cursor (or selected range)
overlaps the diagnostic’s range. We stashed the suggestions on the
diagnostic’s data field in Phase 1, so we just decode them here.
Functions§
- code_
actions_ for_ range - Build LSP
CodeActions for everyJsonSuggestionattached todiagnostics(via Phase 1’sdatafield) whose primary range overlaps the requestedrange.