aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src/helpers.rs
Commit message (Collapse)AuthorAgeFilesLines
* Factor out `pick_best_token` ide pattern into `ide_db`Lukas Wirth2021-06-221-1/+12
|
* internal: retire famous_defs_fixtureAleksey Kladov2021-06-171-2/+9
| | | | This is now done declaratively via `minicore`.
* Generate default lint completionsLukas Wirth2021-06-041-0/+1
|
* Split out merge_imports module from helpers::insert_useLukas Wirth2021-04-241-1/+2
|
* Check for rust doc code attributes like rustdoc doesLukas Wirth2021-04-191-0/+1
|
* Adds impl Deref assistjake2021-04-111-0/+4
|
* Convert Into to From assistGraeme Coupar2021-04-031-0/+4
| | | | | | | | | | | | This adds a "Convert Into to From" assist, useful since clippy has recently started adding lints on every `Into`. It covers converting the signature, and converting any `self`/`Self` references within the body to the correct types. It does assume that every instance of `Into` can be converted to a `From`, which I _think_ is the case now. Let me know if there's something I'm not thinking of and I can try and make it smarter.
* move Semantics::visit_file_defs to ide_db::helpersLukas Wirth2021-03-151-0/+28
|
* Fix some testsKirill Bulatov2021-03-081-1/+9
|
* Show docs on hover for keywords and primitivesLukas Wirth2021-03-021-0/+4
|
* De Morgan's Law assist now correctly inverts <, <=, >, >=.lbrande2021-02-241-0/+4
|
* Make `ModPath`'s representation privateJonas Schievink2021-02-041-1/+1
|
* Share import_assets and related entitiesKirill Bulatov2021-01-161-0/+1
|
* Move FamousDefs fixture out into its own fileLukas Wirth2021-01-121-88/+1
|
* Align config's API with usageAleksey Kladov2021-01-061-2/+18
| | | | The config now is mostly immutable, optimize for that.
* Move the helpers into ide_dbKirill Bulatov2020-11-281-0/+203