rust-analyzer/crates/ide_db/src
bors[bot] c9672a0539
Merge #7657
7657: utf8 r=matklad a=matklad

- Prepare for utf-8 offsets
- reduce code duplication in tests
- Make utf8 default, implement utf16 in terms of it
- Make it easy to add additional context for offset conversion
- Implement utf8 offsets

closes #7453

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-02-16 16:34:22 +00:00
..
call_info Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
helpers . 2021-01-20 01:56:11 +03:00
line_index Make utf8 default, implement utf16 in terms of it 2021-02-16 19:17:32 +03:00
traits Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
apply_change.rs Add name resolution query for block expressions 2021-01-21 15:22:17 +01:00
call_info.rs Extract tests module to file in ide_db crate 2020-12-04 00:05:39 +09:00
defs.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
helpers.rs Make ModPath's representation private 2021-02-04 20:49:24 +01:00
imports_locator.rs Draft the working completion 2021-01-17 02:57:34 +02:00
label.rs Introduce Label 2020-08-18 16:50:07 +02:00
lib.rs Partially unify SymbolKind and CompletionItemKind 2021-01-20 18:39:46 +01:00
line_index.rs Make utf8 default, implement utf16 in terms of it 2021-02-16 19:17:32 +03:00
search.rs Fix a few clippy::perf warnings 2021-02-16 10:55:34 -05:00
source_change.rs Make always-assert crate reusable 2021-01-26 22:13:42 +03:00
symbol_index.rs Support unions in symbol search 2021-01-24 01:32:52 +01:00
traits.rs Extract tests module to file in ide_db crate 2020-12-04 00:05:39 +09:00
ty_filter.rs replace_if_let_with_match: don't assume sad pattern 2021-01-22 23:29:51 +01:00