Kartavya Vashishtha
a3f8fd71df
fix: format expression parsing edge-cases
...
handle positional arg with formatting
handle indexed positional args
2022-11-19 15:00:25 +05:30
Lukas Wirth
3ad0334718
Fix move_format_string_arg being tokentree unaware
2022-10-01 00:42:16 +02:00
Kartavya Vashishtha
54e9324e93
Update crates/ide-assists/src/handlers/move_format_string_arg.rs
...
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2022-09-12 05:45:11 -07:00
Kartavya Vashishtha
fb5ae9906b
suggest ExtractRefactor if no expressions found
...
Added `Ident` variant to arg enum.
2022-09-11 10:39:25 +05:30
Kartavya Vashishtha
a5cbee4d11
remove false positive
2022-09-10 21:04:25 +05:30
Kartavya Vashishtha
cc7200891b
new lint: move_format_string_arg
...
The name might need some improving.
extract format_like's parser to it's own module in ide-db
reworked the parser's API to be more direct
added assist to extract expressions in format args
2022-09-10 20:13:46 +05:30
Kartavya Vashishtha
2584d48508
wip
2022-09-10 20:13:46 +05:30