Module ra_ap_ide_db::assists [−][src]
Expand description
This module defines the Assist
data structure. The actual assist live in
the ide_assists
downstream crate. We want to define the data structures in
this low-level crate though, because ide_diagnostics
also need them
(fixits for diagnostics and assists are the same thing under the hood). We
want to compile ide_assists
and ide_diagnostics
in parallel though, so
we pull the common definitions upstream, to this crate.
Structs
Unique identifier of the assist, should not be shown to the user directly.
Hold the AssistId
data of a certain assist to resolve.
The original id object cannot be used due to a 'static
lifetime
and the requirement to construct this struct dynamically during the resolve handling.
Enums
A way to control how many asssist to resolve during the assist resolution. When an assist is resolved, its edits are calculated that might be costly to always do by default.