rust/crates/rust-analyzer/src
bors[bot] 2fa942ad30
Merge #6251 #6310
6251: Semantic Highlight: Add Callable modifier for variables r=matklad a=GrayJack

This PR added the `HighlightModifier::Callable` variant and assigned it to variables and parameters that are fn pointers, closures and implements FnOnce trait.

This allows to colorize these variables/parameters when used in call expression.



6310: Rewrite algo::diff to support insertion and deletion r=matklad a=Veykril

This in turn also makes `algo::diff` generate finer diffs(maybe even minimal diffs?) as insertions and deletions aren't always represented as as replacements of parent nodes now.

Required for #6287 to go on.

Co-authored-by: GrayJack <gr41.j4ck@gmail.com>
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-10-23 22:12:15 +00:00
..
bin Use log::error! in a few more places 2020-09-17 17:37:52 +02:00
cli Rename declaration_name -> display_name 2020-10-20 15:38:11 +02:00
diagnostics Highlight errors in macros 2020-09-06 09:22:01 +03:00
caps.rs lsp-types 0.82 2020-09-23 15:41:55 -04:00
cargo_target_spec.rs Emit better #[cfg] diagnostics 2020-10-22 19:19:18 +02:00
cli.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
config.rs Merge #6140 2020-10-06 17:51:20 +00:00
diagnostics.rs Align diagnostics config with the rest of rust-analyzer 2020-08-18 16:03:15 +02:00
dispatch.rs Fix panic context 2020-10-23 15:18:33 +02:00
document.rs Handle semantic token deltas 2020-07-31 20:57:53 -04:00
from_proto.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
global_state.rs Move ide::AnalysisChange -> base_db::Change 2020-10-02 16:45:08 +02:00
handlers.rs Insert ref for completions 2020-10-22 22:45:14 +02:00
lib.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
line_endings.rs
lsp_ext.rs Changes from review 2020-10-08 15:01:30 +13:00
lsp_utils.rs Better progress API 2020-10-07 12:15:37 +02:00
main_loop.rs Improve prime_caches and display its progress 2020-10-12 13:35:01 +02:00
markdown.rs Improve support for code block attributes 2020-08-26 15:55:06 +02:00
reload.rs Move ide::AnalysisChange -> base_db::Change 2020-10-02 16:45:08 +02:00
request_metrics.rs
semantic_tokens.rs Add HighlightModifier::Callable and add it for locals 2020-10-16 06:38:32 -03:00
thread_pool.rs Improve prime_caches and display its progress 2020-10-12 13:35:01 +02:00
to_proto.rs Merge #6251 #6310 2020-10-23 22:12:15 +00:00