rust-analyzer/crates
A4-Tacks c976f9900d
Fix else completion before else keyword
Example
---
```rust
fn foo() {
    let x = if true {
        1
    } el$0 else {
        2
    };
}
```

**Before this PR**:

```text
else~    k [LS]
else if~ k [LS]
```

**After this PR**:

```text
else if~ k [LS]
```
2025-09-19 19:59:47 +08:00
..
base-db Expand target info to include the architecture 2025-09-09 13:47:26 +03:00
cfg cargo clippy --fix 2025-07-31 10:55:10 +02:00
edition chore: Bump Edition::CURRENT to 2024 2025-03-17 12:29:19 +01:00
hir Merge pull request #20517 from Veykril/veykril/push-wrurmtqppzus 2025-09-16 07:28:47 +00:00
hir-def Merge pull request #20517 from Veykril/veykril/push-wrurmtqppzus 2025-09-16 07:28:47 +00:00
hir-expand When renaming a parameter to self, change callers to use method call syntax 2025-08-02 21:39:22 +03:00
hir-ty Fix "sync-from-ra" for rust-lang/rust 2025-09-17 03:22:52 +09:00
ide Merge pull request #20583 from btj/comments-enable 2025-09-17 14:06:17 +00:00
ide-assists Merge pull request #20682 from A4-Tacks/fix-change-vis-applicable-on-variant 2025-09-17 17:00:31 +00:00
ide-completion Fix else completion before else keyword 2025-09-19 19:59:47 +08:00
ide-db Merge pull request #20517 from Veykril/veykril/push-wrurmtqppzus 2025-09-16 07:28:47 +00:00
ide-diagnostics Merge pull request #20517 from Veykril/veykril/push-wrurmtqppzus 2025-09-16 07:28:47 +00:00
ide-ssr Merge pull request #20517 from Veykril/veykril/push-wrurmtqppzus 2025-09-16 07:28:47 +00:00
intern Implement next trait solver 2025-08-09 16:08:58 +00:00
load-cargo cargo clippy --fix 2025-07-31 10:55:10 +02:00
mbe cargo clippy --fix 2025-07-31 10:55:10 +02:00
parser Auto-attach database in Analysis calls 2025-08-18 09:52:23 +02:00
paths Don't run doctests 2025-06-23 00:50:22 +03:00
proc-macro-api Add version command to proc-macro-srv 2025-07-31 10:10:50 +02:00
proc-macro-srv Reorganize proc-macro-srv 2025-07-31 09:55:07 +02:00
proc-macro-srv-cli Add version command to proc-macro-srv 2025-07-31 10:10:50 +02:00
profile Implement next trait solver 2025-08-09 16:08:58 +00:00
project-model Expand target info to include the architecture 2025-09-09 13:47:26 +03:00
query-group-macro Implement next trait solver 2025-08-09 16:08:58 +00:00
rust-analyzer Merge pull request #20583 from btj/comments-enable 2025-09-17 14:06:17 +00:00
span Merge Trait and TraitAlias handling 2025-08-13 15:28:08 +08:00
stdx Don't run doctests 2025-06-23 00:50:22 +03:00
syntax Merge pull request #20624 from A4-Tacks/fix-syn-lifetime-bounds 2025-09-09 07:35:19 +00:00
syntax-bridge remove P 2025-08-09 15:47:01 +08:00
test-fixture Expand target info to include the architecture 2025-09-09 13:47:26 +03:00
test-utils Add regression tests to some S-blocked-on-new-solver issues 2025-09-15 08:25:17 +03:00
toolchain Don't run doctests 2025-06-23 00:50:22 +03:00
tt cargo clippy --fix 2025-07-31 10:55:10 +02:00
vfs Bump salsa 2025-07-03 10:05:16 +02:00
vfs-notify cargo clippy --fix 2025-07-31 10:55:10 +02:00