Skip to content

fix(vscode): register commands before LSP, add README#61

Merged
avrabe merged 1 commit intomainfrom
fix/extension-commands
Mar 19, 2026
Merged

fix(vscode): register commands before LSP, add README#61
avrabe merged 1 commit intomainfrom
fix/extension-commands

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 19, 2026

Bug Fix

Commands spar.showDiagram and spar.selectRoot were "not found" because they were registered AFTER client.start() which throws if spar binary is missing. Now commands register first.

Improvements

  • README.md for marketplace (features, quick start, configuration, links)
  • CHANGELOG.md
  • Loading spinner in webview during rendering
  • "Download spar" / "Set Path" action buttons when binary not found
  • Auto-prompt root selection when showing diagram without a root selected
  • Graceful LSP failure handling (catch + warning, don't abort activation)

🤖 Generated with Claude Code

Critical fix: commands were registered AFTER LSP client.start() which
throws if spar binary not found — preventing command registration.
Now commands register first, LSP failure is caught gracefully.

Also adds:
- README.md for VS Code Marketplace (features, quick start, config)
- CHANGELOG.md
- Loading spinner in webview during render
- "Download spar" / "Set Path" action buttons when binary missing
- Auto-prompt root selection when showing diagram without root

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 8236a43 into main Mar 19, 2026
7 of 8 checks passed
@avrabe avrabe deleted the fix/extension-commands branch March 19, 2026 06:34
@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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