rust-analyzer/crates/ra_assists/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
..
assists Merge #2343 2019-11-24 08:32:07 +00:00
doc_tests do refact and fix some issue 2019-11-24 13:14:57 +08:00
assist_ctx.rs Force passing Source when creating a SourceAnalyzer 2019-11-16 02:12:35 +03:00
doc_tests.rs Restore assists tests 2019-11-04 22:28:47 +03:00
lib.rs initial invert_if 2019-11-22 02:51:40 +08:00
marks.rs Added test for check doc strings in crates. 2019-09-30 11:58:53 +03:00
test_db.rs Get rid of DefDatabase2 2019-11-23 14:49:45 +03:00