Commit c997c95
a.iudin
Refactor PromptTextField suggestion UI to use custom JBPopup
Remove LookupUtil and all LookupImpl‐based code. Introduce JBPopup‐backed suggestion panel with SearchTextField and JBList, backed by LookupListModel and rendered by LookupListCellRenderer. Refactor DynamicLookupGroupItem to return item lists, add runCatchingCancellable utility, simplify event dispatcher and cleanup lookup cancellation.1 parent 4e54a2f commit c997c95
File tree
11 files changed
+452
-191
lines changed- src/main/kotlin/ee/carlrobert/codegpt
- psistructure
- ui/textarea
- lookup
- group
- popup
- util/coroutines
11 files changed
+452
-191
lines changedLines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 8 | + | |
| 9 | + | |
13 | 10 | | |
14 | | - | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
| |||
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
29 | | - | |
| 25 | + | |
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
| |||
60 | 56 | | |
61 | 57 | | |
62 | 58 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 59 | + | |
66 | 60 | | |
67 | 61 | | |
68 | 62 | | |
| |||
0 commit comments