Skip to content

Conversation

@LeoAnders
Copy link
Collaborator

  • Unified Go to Definition (F12) and Ctrl+Click resolution through CCS API
  • Added Ctrl+Q to fetch global documentation and print to Output
  • Implemented resolveContextExpression command (Ctrl+Alt+Space)
  • Added ObjectScript enter rules for semicolon continuation
  • Improved auto-indent syntax for .mac / .int routines
  • Reorganized SourceControl API with dedicated clients folder
  • Introduced ContextExpressionClient and centralized route handling
  • Added core/ and config scaffolds for CCS modules
  • Various fixes and refactors for consistency and code quality

LeoAnders and others added 15 commits October 6, 2025 20:53
* chore (api): restructure to use request util

* docs: add changelog entry for API refactor

* style: fix prettier formatting issues
- Introduced ContextExpressionClient to encapsulate API calls for \/resolveContextExpression\, applying settings, timeout and logging
- Updated contextHelp.ts to consume the new client instead of creating SourceControlApi manually
- Added routes.ts with BASE_PATH and resolveContextExpression route
- Updated extension.ts to import CCS commands/providers from barrel
- Adapted SourceControlApi client to use centralized routes (only resolveContextExpression for now)
Fix unwanted semicolon insertion in ObjectScript dot-prefixed blocks: auto-continuation now inserts the copied prefix only when the target line is empty and preserves ; only if it existed on the previous line, and a regression test ensures moving lines across dot-prefixed semicolon comments does not inject semicolons.
…t to Output (#17)

Add Ctrl+Q shortcut to fetch global documentation for the current selection/line and print the response to the Output.
…#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`
@LeoAnders LeoAnders added enhancement New feature or request and removed enhancement New feature or request labels Oct 7, 2025
@LeoAnders LeoAnders merged commit 9df8993 into master Oct 7, 2025
3 checks passed
@LeoAnders LeoAnders deleted the sync/prerelease branch October 7, 2025 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants