Skip to content

Fix aeon.synthesize command for pygls v2#151

Merged
alcides merged 2 commits intomasterfrom
vc_simplication
Mar 26, 2026
Merged

Fix aeon.synthesize command for pygls v2#151
alcides merged 2 commits intomasterfrom
vc_simplication

Conversation

@alcides
Copy link
Copy Markdown
Owner

@alcides alcides commented Mar 25, 2026

Fixes Command name not defined by using @self.command() instead of @self.feature(WORKSPACE_EXECUTE_COMMAND)

alcides and others added 2 commits March 25, 2026 12:23
In pygls v2, workspace/executeCommand dispatches via fm.commands (populated
by @server.command()), not fm.features. Replace the @self.feature(WORKSPACE_EXECUTE_COMMAND)
handler with @self.command(SYNTHESIZE_COMMAND) so the command is properly
registered and advertised in server capabilities.

Also add code action support to server.py and HolePosition/find_holes_in_source
to aeon_adapter.py so the lightbulb shows synthesizer options for ?holes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@alcides alcides merged commit 4db0a8b into master Mar 26, 2026
7 checks passed
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.

1 participant