rust/crates/ide-assists
bors f64c95600c Auto merge of #13216 - DesmondWillowbrook:move_format_string_arg, r=DesmondWillowbrook
New assist: move_format_string_arg

The name might need some improving.

```rust
fn main() {
    print!("{x + 1}");
}
```
to
```rust
fn main() {
    print!("{}"$0, x + 1);
}
```

fixes #13180

ref to #5988 for similar work

* extracted `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-12 15:50:42 +00:00
..
src Auto merge of #13216 - DesmondWillowbrook:move_format_string_arg, r=DesmondWillowbrook 2022-09-12 15:50:42 +00:00
Cargo.toml Disable all source-gen tests at compile time 2022-07-24 10:38:28 +02:00