aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/handlers/extract_struct_from_enum_variant.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove some redundant allocationsJeremy Kolb2020-12-121-1/+1
|
* Move the helpers into ide_dbKirill Bulatov2020-11-281-3/+3
|
* Extract the import code into the shared moduleKirill Bulatov2020-11-271-8/+8
|
* Add imports in auto completionKirill Bulatov2020-11-161-2/+1
|
* Add extra test to extract_struct_from_enum_variantLukas Wirth2020-11-121-1/+28
|
* Use Module::find_use_path_prefixed in extract_struct_from_enum_variant assistLukas Wirth2020-11-121-5/+9
|
* Fix extract_struct_from_enum_variant not updating record referencesLukas Wirth2020-11-121-26/+59
|
* Fix panic when extracting structAleksey Kladov2020-11-091-0/+30
|
* Support multi-file assist testsAleksey Kladov2020-11-091-0/+37
|
* Support struct variants in extract_struct_from_enum_variantLukas Wirth2020-11-031-46/+74
|
* only check type namespace in extract_struct_from_enum_variant for collisionsLukas Wirth2020-11-031-9/+53
|
* Make insert_use return a SyntaxRewriterLukas Wirth2020-11-021-87/+69
|
* Merge #6257bors[bot]2020-10-261-11/+11
|\ | | | | | | | | | | | | | | 6257: Don't suggest extracting out 1-tuple enum variants r=matklad a=repnop Fixes #6241. Co-authored-by: Wesley Norris <[email protected]>
| * Don't suggest extracting out 1-tuple enum variantsWesley Norris2020-10-261-11/+11
| | | | | | | | Fixes #6241.
* | Re-export base_db from ide_dbIgor Aleksanov2020-10-241-1/+1
|/
* Move ModPath->ast::Path function to IDE layerAleksey Kladov2020-10-061-3/+5
| | | | closes #6092
* Minor clippy performance suggestionskjeremy2020-09-301-1/+1
|
* Remove make::path_from_textLukas Wirth2020-09-161-6/+1
|
* Make MergeBehaviour configurableLukas Wirth2020-09-121-4/+2
|
* Add extra insert_use test for pub(crate) re-export handlingLukas Wirth2020-09-031-4/+5
|
* Disable insert_import in extract_struct_from_enum_variant until its fixedLukas Wirth2020-09-031-0/+4
|
* Fix import insertion breaking nested modulesLukas Wirth2020-09-031-4/+4
|
* Replace insert_use_statement with the new insert_useLukas Wirth2020-09-031-7/+13
|
* MinorAleksey Kladov2020-08-251-2/+1
|
* Future proof find-usages APIAleksey Kladov2020-08-191-1/+1
| | | | | | We might want to provide more efficient impls for check if usages exist, limiting the search, filtering and cancellation, so let's violate YAGNI a bit here.
* Don't expose hir::Path out of hirAleksey Kladov2020-08-151-1/+6
| | | | | | | | | | | | | | Conjecture: it's impossible to use hir::Path *correctly* from an IDE. I am not entirely sure about this, and we might need to add it back at some point, but I have to arguments that convince me that we probably won't: * `hir::Path` has to know about hygiene, which an IDE can't set up properly. * `hir::Path` lacks identity, but you actually have to know identity to resolve it correctly
* Rename ra_assists -> assistsAleksey Kladov2020-08-131-0/+317