Commit 5b170fd
committed
Unify Go to Definition(F12) and Ctrl+Click through CCS API resolution (#20)
* revert: remove cross-workspace definition lookup (45b7b82)
* feat: add API-based Go to Definition command and integrate with keybinding
- Introduced DefinitionResolverClient for REST API resolution
- Implemented definitionLookup feature (extractQuery + lookup) for robust query handling
- Added `PrioritizedDefinitionProvider` to prefer CCS resolver before fallback
- Implemented new command vscode-objectscript.ccs.goToDefinition with API-first fallback
- Updated package.json to bind F12 and menus to the new command for ObjectScript files
- Registered new command in extension.ts and integrated telemetry
- New goToDefinitionLocalFirst command integrates CCS API before native definition
* feat: support cross-namespace definition lookup and request logging
* feat: implement full Ctrl+Click support with `CCS API` resolution
* feat: remove visual underline from `DocumentLinks` in `DefinitionDocumentLinkProvider`1 parent 4e750b2 commit 5b170fd
File tree
20 files changed
+943
-215
lines changed- src
- ccs
- commands
- core
- features/definitionLookup
- providers
- sourcecontrol
- clients
- providers
- test/suite
- test-fixtures
- multi-root
- client
- .vscode
- src/MultiRoot
20 files changed
+943
-215
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 79 | | |
97 | 80 | | |
98 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
485 | 494 | | |
486 | 495 | | |
487 | 496 | | |
| |||
529 | 538 | | |
530 | 539 | | |
531 | 540 | | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
532 | 551 | | |
533 | 552 | | |
534 | 553 | | |
| |||
854 | 873 | | |
855 | 874 | | |
856 | 875 | | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
857 | 886 | | |
858 | 887 | | |
859 | 888 | | |
| |||
1228 | 1257 | | |
1229 | 1258 | | |
1230 | 1259 | | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
1231 | 1265 | | |
1232 | 1266 | | |
1233 | 1267 | | |
| |||
1439 | 1473 | | |
1440 | 1474 | | |
1441 | 1475 | | |
1442 | | - | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
1448 | | - | |
1449 | | - | |
1450 | 1476 | | |
1451 | 1477 | | |
1452 | 1478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
0 commit comments