Lukas Wirth
|
8c9359b072
|
Fix pattern field completions not working for unions
|
2022-08-09 17:53:16 +02:00 |
|
Lukas Wirth
|
ce7541260d
|
fix: Don't complete marker traits in expression position
|
2022-07-28 17:50:49 +02:00 |
|
Lukas Wirth
|
74abd44a26
|
fix: Do completions in path qualifier position
|
2022-07-28 17:09:31 +02:00 |
|
Lukas Wirth
|
e782e59d3d
|
fix: Calculate completions after type anchors
|
2022-07-28 10:06:36 +02:00 |
|
Dorian Scheidt
|
13c83f90ac
|
fix: Don't add braces to 'if' completion in match guard position
When the cursor is in a match arm, but before the fat arrow (=>) token, don't
add braces when autocompleting "if".
fixes #12823
|
2022-07-23 12:25:02 -05:00 |
|
Amos Wenger
|
816f7fe12a
|
Run cargo fix --edition-idioms
|
2022-07-20 15:02:08 +02:00 |
|
yue4u
|
622b516c74
|
fix: variants rendering in pattern path
|
2022-07-02 20:31:24 +09:00 |
|
Lukas Wirth
|
7a0774defa
|
internal: Simplify some completions
|
2022-06-20 21:55:33 +02:00 |
|
Lukas Wirth
|
46d22719fc
|
Remove pattern rendering hack
|
2022-06-20 20:16:40 +02:00 |
|
Lukas Wirth
|
6e9c963348
|
internal: Lift out IdentContext from CompletionContext
|
2022-06-20 17:41:04 +02:00 |
|
Lukas Wirth
|
7685245282
|
Even more completion context filtering
|
2022-06-20 14:23:46 +02:00 |
|
Lukas Wirth
|
ce5859e387
|
Lift out PathKind variant fields into structs
|
2022-06-20 13:29:13 +02:00 |
|
Lukas Wirth
|
c1446a2743
|
Move CompletionContext::impl_def into corresponding entities
|
2022-06-18 10:45:53 +02:00 |
|
Lukas Wirth
|
83e8f3ac30
|
Move CompletionContext::incomplete_let into PathKind::Expr
|
2022-06-18 10:19:04 +02:00 |
|
Lukas Wirth
|
7369e5120d
|
Move CompletionContext::function_def into PathKind::Expr
|
2022-06-18 09:54:03 +02:00 |
|
Lukas Wirth
|
0665428b4e
|
minor: Simplify
|
2022-06-18 01:15:08 +02:00 |
|
Lukas Wirth
|
00fdb4a3d8
|
Only run completion functions if their corresponding context is active
|
2022-06-17 23:36:39 +02:00 |
|
Lukas Wirth
|
d97a8ee865
|
Remove superfluous early returns
|
2022-06-17 17:49:25 +02:00 |
|
Lukas Wirth
|
85b68b1f7d
|
Inline PathQualifierCtx
|
2022-06-17 17:27:12 +02:00 |
|
Lukas Wirth
|
d6f161ffa9
|
internal: Collapse lift is_infer_qualifier into Qualified variant
|
2022-06-17 17:15:29 +02:00 |
|
Lukas Wirth
|
531060f103
|
internal: Collapse completion ctx path qualifier and is_absolute_path into enum
|
2022-06-17 16:36:22 +02:00 |
|
Lukas Wirth
|
85363d18e8
|
Simplify
|
2022-06-17 16:22:51 +02:00 |
|
Lukas Wirth
|
6e07b17f69
|
Introduce NameRefKind for completions
|
2022-06-17 10:45:19 +02:00 |
|
Lukas Wirth
|
a2a74bf278
|
Remove some of the unnecessary helpfer functions from CompletionContext
|
2022-06-03 20:49:25 +02:00 |
|
Lukas Wirth
|
2a60b8452e
|
Deduplicate
|
2022-06-03 16:33:37 +02:00 |
|
Lukas Wirth
|
522f66545f
|
Remove prev-sibling completion machinery
|
2022-06-03 16:25:37 +02:00 |
|
Lukas Wirth
|
6a8b8a6039
|
internal: Refactor our record pat/expr handling in completion context
|
2022-05-24 13:24:36 +02:00 |
|
Lukas Wirth
|
b2abe1bca1
|
Move keyword expressions to expr completions module
|
2022-05-10 15:00:58 +02:00 |
|
Lukas Wirth
|
6a045c7029
|
Introduce NameRefContext
|
2022-05-07 13:46:43 +02:00 |
|
Lukas Wirth
|
0ce620686c
|
fix: Fix snippets triggering where they shouldn't
|
2022-05-06 15:44:41 +02:00 |
|
Lukas Wirth
|
57a9915c1f
|
internal: completion PathKind is not optional
|
2022-05-06 12:04:41 +02:00 |
|
Lukas Wirth
|
0c4e23b8ef
|
internal: Remove unqualified_path completions module
|
2022-05-05 22:21:42 +02:00 |
|
Lukas Wirth
|
16d2e79b50
|
internal: Remove unqualified_path completions module
|
2022-05-05 15:50:40 +02:00 |
|