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§
AstTransformer
s are functions that replace nodes in an AST and can be easily combined.- Assorted functions shared by several assists.
Structs§
- Unique identifier of the assist, should not be shown to the user directly.