DropDemBits
1e1761e9ae
Migrate extract_variable
to mutable ast
2023-12-10 18:37:51 -05:00
Young-Flash
7186a28717
chore: add unapplicable test for extract_variable without select
2023-10-28 10:06:09 +08:00
Young-Flash
00cdbe6c96
feat: make extract_variable assist in place
2023-10-27 21:16:34 +08:00
Lukas Wirth
72d47144e8
fix: Fix receiver adjustments for extract_variable assist
2023-04-11 14:01:23 +02:00
Lukas Wirth
b8276481e7
Fix extract_variable test
2023-03-04 14:58:58 +01:00
DropDemBits
d439fb2bc8
Migrate assists to format args captures, part 1
2022-10-10 15:56:21 -04:00
Amos Wenger
816f7fe12a
Run cargo fix --edition-idioms
2022-07-20 15:02:08 +02:00
Hasan Ali
ea19e70304
Fix extract variable assist for subexpression in mutable borrow
2022-07-17 22:42:03 +01:00
Dorian Scheidt
21062f9201
fix: Improve suggested names for extracted variables
...
When extracting a field expression, if RA was unable to resolve the type of the
field, we would previously fall back to using "var_name" as the variable name.
Now, when the `Expr` being extracted matches a `FieldExpr`, we can use the
`NameRef`'s ident token as a fallback option.
fixes #10035
2022-07-08 18:35:04 -05:00
Peh
1f011fa4a3
style: rename crates to kebab case
2022-05-01 10:48:58 +00:00