rust/crates/ide/src
bors 88b3d9f6f4 Auto merge of #14144 - lowr:fix/find-occurrence-of-raw-ident, r=Veykril
fix: Search raw identifiers without prefix

When we find references/usages of a raw identifier, we should disregard `r#` prefix because there are keywords one can use without the prefix in earlier editions (see #13034; this bug is actually fallout from the PR). `name`, the text we're searching for, has already been stripped of the prefix, but the text of nodes we compare it to hasn't been.

The second commit is strictly refactoring, I can remove it if it's not much of value.
2023-02-14 11:15:55 +00:00
..
annotations Fix annotations not resolving when lens location is set to whole item 2022-10-01 00:18:23 +02:00
doc_links Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
hover Remove hover fallback in favor of ranged hover 2023-01-20 21:52:05 +01:00
inlay_hints fix: Fix bind pat inlay hints rendering for constant patterns 2023-02-11 16:29:54 +01:00
prime_caches Re-export FxHashMap and FxHashSet from ide_db 2022-04-25 18:51:59 +02:00
syntax_highlighting remove unnecessary lazy evaluations 2023-01-02 15:02:54 +00:00
typing Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
annotations.rs Fix annotations not resolving when lens location is set to whole item 2022-10-01 00:18:23 +02:00
call_hierarchy.rs fmt 2022-12-03 01:20:27 +01:00
doc_links.rs remove unnecessary lifetimes that can be elided 2023-01-02 15:02:54 +00:00
expand_macro.rs remove needless borrows 2023-01-02 14:52:32 +00:00
extend_selection.rs remove unnecessary lazy evaluations 2023-01-02 15:02:54 +00:00
file_structure.rs tidy by rustfmt 2023-01-30 20:34:07 +01:00
fixture.rs add some tests 2021-09-26 12:48:53 +03:30
folding_ranges.rs feat: add fold range for multi line match arm list 2022-06-18 16:05:56 +08:00
goto_declaration.rs fix indentation of unlinked_file quickfix 2023-01-12 11:24:44 +01:00
goto_definition.rs fix(ty): should query impls in nearest block 2023-01-10 10:28:17 +08:00
goto_implementation.rs remove unnecessary lazy evaluations 2023-01-02 15:02:54 +00:00
goto_type_definition.rs Don't show trait flyimports for impl trait and placeholders 2021-12-10 19:18:21 +01:00
highlight_related.rs Refine search for const and function assoc items 2023-01-11 17:10:04 +01:00
hover.rs Remove hover fallback in favor of ranged hover 2023-01-20 21:52:05 +01:00
inlay_hints.rs Properly use location links for type hints of impl Future and its assoc type 2023-02-07 22:42:03 +01:00
join_lines.rs collapse some nested blocks 2023-01-10 20:40:08 +00:00
lib.rs Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
markdown_remove.rs REplace soft breaks in markdown with spaces 2023-01-23 12:21:23 +01:00
markup.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
matching_brace.rs Fix r-a spelling in some places 2022-08-01 13:47:09 +02:00
moniker.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
move_item.rs Fix r-a spelling in some places 2022-08-01 13:47:09 +02:00
navigation_target.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
parent_module.rs fix: Fix DidSaveDocument requests blocking the server on startup 2022-10-20 19:55:04 +02:00
prime_caches.rs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
references.rs Search raw identifiers without prefix 2023-02-14 17:34:14 +09:00
rename.rs Search raw identifiers without prefix 2023-02-14 17:34:14 +09:00
runnables.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
shuffle_crate_graph.rs Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
signature_help.rs Make it work with Self { .. } 2023-01-27 19:25:31 +01:00
ssr.rs Re-export FxHashMap and FxHashSet from ide_db 2022-04-25 18:51:59 +02:00
static_index.rs Fix markdown removal in hover handling whitespace weirdly 2023-01-20 14:29:12 +01:00
status.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
syntax_highlighting.rs collapse some nested blocks 2023-01-10 20:40:08 +00:00
syntax_tree.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
typing.rs fix: Don't insert a semicolon when typing = if parse errors are encountered 2023-02-08 12:06:35 +01:00
view_crate_graph.rs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
view_hir.rs Add an HIR pretty-printer 2022-08-15 13:51:45 +02:00
view_item_tree.rs Fix r-a spelling in some places 2022-08-01 13:47:09 +02:00