Module code_action

Module code_action 

Source
Expand description

implementation of the textDocument/codeAction request

§Usage

The Server::on_code_action endpoint is used to compute commands for a range of a text document. Commonly these commands are displayed in the user interface and may for example represent code fixes or refactoring options.

Structs§

CodeActionContext
Contains additional diagnostic information about the context in which a code action is run.