generated fromJetBrains/intellij-platform-plugin-template
- Notifications
You must be signed in to change notification settings - Fork463
Commit90f978f
committed
fix(completion): handle null paths in file completion
- Safely handle null paths in FileCompletionProvider by checking buildElement result- Make relativePath() more robust by catching exceptions and handling invalid files- Remove unused VirtualFilePresentation import1 parentdac43aa commit90f978f
File tree
2 files changed
+13
-7
lines changed- core/src/main/kotlin/cc/unitmesh/devti/util
- exts/devins-lang/src/main/kotlin/cc/unitmesh/devti/language/completion/provider
2 files changed
+13
-7
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
57 | 63 | | |
58 | 64 | | |
59 | 65 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments
Comments
(0)