rust/crates/syntax/src
bors[bot] b594f9c441
Merge #11690
11690: feat: Add an assist for inlining type aliases r=Veykril a=steven-joruk

I'm working towards implementing #10881, but I'd like to get this in first with earlier feedback.

Is `inline_type_alias` a good enough name? I guess the follow up assist would be called `inline_type_alias_into_all_users` based on that.

![valid_inlines](https://user-images.githubusercontent.com/1277939/158020510-fed78b5c-4c7e-46d1-9151-3044a29b9990.gif)

![invalid_inlines](https://user-images.githubusercontent.com/1277939/158020516-8a2deb6d-c6ec-4adf-a15b-c514fc97dc43.gif)



Co-authored-by: Steven Joruk <steven@joruk.com>
2022-03-20 21:15:49 +00:00
..
ast Merge #11690 2022-03-20 21:15:49 +00:00
parsing dead code 2021-12-28 19:13:30 +03:00
tests fix: Recognize Self as a proper keyword 2022-03-05 23:20:06 +01:00
validation Add semicolons for consistency 2021-10-03 23:39:43 +11:00
algo.rs Make selections in assists with trailing/leading whitespace more forgiving 2021-10-12 14:41:59 +02:00
ast.rs Preserve order of generic args 2022-03-04 11:46:14 +03:30
display.rs Don't parse source files to generate macro completion details 2022-03-10 22:21:58 +01:00
fuzz.rs Add more docs 2021-05-22 16:53:47 +03:00
hacks.rs dead code 2021-12-28 19:13:30 +03:00
lib.rs fix(11422): have two different funuctions - one for iterating breaks, one for iteraating breaks and continues 2022-02-24 19:00:08 +01:00
parsing.rs dead code 2021-12-28 19:13:30 +03:00
ptr.rs Migrate to SyntaxNodePtr in new rowan 2021-12-29 23:48:53 -08:00
syntax_error.rs
syntax_node.rs internal: replace TreeSink with a data structure 2021-12-25 22:02:26 +03:00
ted.rs Add semicolons for consistency 2021-10-03 23:39:43 +11:00
tests.rs remove fragments from syntax 2021-12-28 17:00:55 +03:00
token_text.rs Imrove fn name computation in Generate function 2021-09-16 21:03:37 +05:00
utils.rs Better strip turbofishes 2021-03-08 23:59:39 +02:00
validation.rs Validate let expressions 2022-02-21 08:34:35 +02:00