rust/crates/ra_syntax/src
bors[bot] 7b6aa7c34e
Merge #2343
2343: implement assist invert_if r=matklad a=bravomikekilo

fix [issue 2219 invert if condition](https://github.com/rust-analyzer/rust-analyzer/issues/2219)
I put the assist cursor range to `if` of the if expression, because both condition and body will be replaced. Is there any way to replace them without cover the cursor position?
@matklad 

Co-authored-by: bravomikekilo <bmk1221@126.com>
2019-11-24 08:32:07 +00:00
..
ast Merge #2343 2019-11-24 08:32:07 +00:00
parsing Attach docs to statics 2019-10-31 16:21:46 -04:00
validation Added test for check doc strings in crates. 2019-09-30 11:58:53 +03:00
algo.rs ⬆️ rowan 2019-11-19 21:13:36 +03:00
ast.rs Attempt to implement typed accessors 2019-11-15 12:05:29 -08:00
fuzz.rs Added test for check doc strings in crates. 2019-09-30 11:58:53 +03:00
grammar.ron Allow non-path default type parameters 2019-11-20 11:46:44 +03:00
lib.rs Force passing Source when creating a SourceAnalyzer 2019-11-16 02:12:35 +03:00
parsing.rs allow rustfmt to reorder imports 2019-07-04 23:09:09 +03:00
ptr.rs Next gen IDs for functions 2019-11-20 16:22:58 +03:00
syntax_error.rs Move inclusive range check to validation 2019-11-15 01:04:45 -08:00
syntax_node.rs streamline API 2019-07-21 13:28:58 +03:00
tests.rs WIP: switch to fully decomposed tokens internally 2019-09-10 15:46:39 +03:00
validation.rs Attempt to implement typed accessors 2019-11-15 12:05:29 -08:00