Expand description
assists
crate provides a bunch of code assists, also known as code
actions (in LSP) or intentions (in IntelliJ).
An assist is a micro-refactoring, which is automatically activated in
certain context. For example, if the cursor is over ,
, a “swap ,
” assist
becomes available.
Modules§
- ast_
transform AstTransformer
s are functions that replace nodes in an AST and can be easily combined.- utils
- Assorted functions shared by several assists.
Structs§
- Assist
- Assist
Config - Assist
Id - Unique identifier of the assist, should not be shown to the user directly.
- Group
Label