rust/crates/ide/src
bors[bot] 63c5c92856
Merge #7668
7668: Finalize rename infra rewrite r=matklad a=Veykril

This should be the final PR in regards to rewriting rename stuff, #4290.

It addresses 3 things:
	- Currently renaming import aliases causes some undesired behavior(see #5198) which is why this PR causes us to just return an error if an attempt at renaming an alias is made for the time being. Though this only prevents it from happening when the alias import is renamed, so its not too helpful.
	- Fixes #6898
	- If we are inside a macro file simply rename the input name node as there isn't really a way to do any of the fancy shorthand renames and similar things as for that we would have to exactly know what the macro generates and what not.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-02-14 15:29:00 +00:00
..
diagnostics Remove use of SourceFileEdit 2021-01-23 07:54:45 +00:00
display More precise navigation to parent 2021-02-09 18:21:09 +03:00
references Don't rename field record patterns directly 2021-02-13 23:47:21 +01:00
syntax_highlighting Add parsing benchmark 2021-02-09 21:52:34 +03:00
typing Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
annotations.rs Make annotations tests similar to those in runnables 2021-02-13 19:18:13 +02:00
call_hierarchy.rs Refactor reference searching to work with the ast 2021-02-12 18:58:28 +01:00
diagnostics.rs Add diagnostic for filter_map followed by next 2021-01-23 07:40:24 +00:00
display.rs Don't expose SyntaxKind from IDE API 2020-12-18 19:28:48 +03:00
doc_links.rs Wrap BuiltinType in code model 2021-02-11 19:52:33 +01:00
expand_macro.rs Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
extend_selection.rs . 2021-01-20 01:56:11 +03:00
file_structure.rs Move SymbolKind to ide_db 2021-01-20 15:25:34 +01:00
fixture.rs Cleanup tests 2021-02-09 18:13:11 +03:00
fn_references.rs Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
folding_ranges.rs Use items can also have doc comments 2020-12-04 17:09:40 +01:00
goto_definition.rs More precise navigation to parent 2021-02-09 18:21:09 +03:00
goto_implementation.rs AdtDef -> Adt 2021-02-07 14:15:02 +03:00
goto_type_definition.rs Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
hover.rs Wrap BuiltinType in code model 2021-02-11 19:52:33 +01:00
inlay_hints.rs Update fixed tests 2021-02-10 14:48:52 +01:00
join_lines.rs Cleanup test 2021-02-09 17:48:25 +03:00
lib.rs Moved CodeLens to ide crate 2021-02-13 13:07:47 +02:00
markdown_remove.rs Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
markup.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
matching_brace.rs Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
parent_module.rs restore accidentally deleted test 2021-02-09 18:29:15 +03:00
prime_caches.rs Re-export base_db from ide_db 2020-10-24 11:39:57 +03:00
references.rs Don't classify attribute macros as their path unless it's a function with the proc_macro_attribute attribute 2021-02-13 22:11:31 +01:00
runnables.rs Merge #7353 2021-01-22 15:31:47 +00:00
status.rs Include countme crate to count important data structures. 2021-01-21 19:30:52 +03:00
syntax_highlighting.rs Increase Highlights highlight range to covering element 2021-02-04 11:37:14 +01:00
syntax_tree.rs Modernize tests 2021-02-09 17:23:35 +03:00
typing.rs Phase out SourceFileEdits in favour of a plain HashMap 2021-01-14 22:43:36 +01:00
view_hir.rs Address review suggestion, fix tidy tests 2021-01-01 19:25:18 +00:00