[][src]Crate ra_ap_assists

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

AstTransformers are functions that replace nodes in an AST and can be easily combined.

utils

Assorted functions shared by several assists.

Structs

Assist
AssistConfig
AssistId

Unique identifier of the assist, should not be shown to the user directly.

GroupLabel
ResolvedAssist

Enums

AssistKind