Module code_action

Module code_action 

Source
Expand description

§============================================================================= textDocument/codeAction

Bridges LSP code actions to tsserver’s getCodeFixes command. Every diagnostic supplied by the client is forwarded so tsserver can suggest quick fixes (missing imports, unreachable code, etc.). Results are converted into CodeAction entries with ready-to-apply workspace edits. When tsserver also reports a fixId, we surface a companion “fix all” action that is resolved lazily via codeAction/resolve.

Structs§

FixAllData
OrganizeImportsData

Enums§

CodeActionData

Functions§

handle