rust-analyzer/crates/syntax/src
A4-Tacks 8549afe4a6
Add ide-assist: convert_range_for_to_while
Convert for each range into while loop.

```rust
fn foo() {
    $0for i in 3..7 {
        foo(i);
    }
}
```
->
```rust
fn foo() {
    let mut i = 3;
    while i < 7 {
        foo(i);
        i += 1;
    }
}
```
2025-11-04 13:31:41 +08:00
..
ast Add ide-assist: convert_range_for_to_while 2025-11-04 13:31:41 +08:00
parsing cargo fmt 2025-03-15 21:32:01 +01:00
syntax_editor add SyntaxEditor::delete_all to migrate utils.rs add_trait_assoc_items_to_impl 2025-07-30 23:53:05 +09:00
validation cargo fmt 2025-03-15 21:32:01 +01:00
algo.rs fix(auto-import): Prefer imports of matching types for argument lists 2025-04-08 09:21:32 +02:00
ast.rs Revert "internal: Rewrite attribute handling" 2025-10-22 19:19:13 +03:00
fuzz.rs cargo fmt 2025-03-15 21:32:01 +01:00
hacks.rs cargo fmt 2025-03-15 21:32:01 +01:00
lib.rs Merge from rust-lang/rust 2025-04-28 11:06:53 +03:00
parsing.rs cargo fmt 2025-03-15 21:32:01 +01:00
ptr.rs cargo fmt 2025-03-15 21:32:01 +01:00
syntax_editor.rs remvoe add_attr edit_in_place.rs because it use ted. 2025-08-04 21:52:49 +09:00
syntax_error.rs Impl std::error::Error for SyntaxError 2025-09-30 15:40:54 +03:00
syntax_node.rs ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
ted.rs cargo clippy --fix 2025-07-31 10:55:10 +02:00
tests.rs cargo fmt 2025-03-15 21:32:01 +01:00
token_text.rs Merge commit '457b966b17' into sync-from-ra 2023-12-11 11:16:01 +02:00
utils.rs Properly account for editions in names 2024-08-16 16:46:24 +03:00
validation.rs cargo clippy --fix 2025-07-31 10:55:10 +02:00