Skip to content

Conversation

@sinelaw
Copy link
Owner

@sinelaw sinelaw commented Dec 27, 2025

No description provided.

@sinelaw sinelaw force-pushed the claude/file-autoopen-warning-ux-LcwPy branch 2 times, most recently from 211bb41 to ef2f5d5 Compare December 29, 2025 10:23
- Drop animation feature (unnecessary complexity)
- Define 3 new hooks: LspServerError, LspStatusClicked, ActionPopupResult
- Define 2 new API functions: showActionPopup, disableForLanguage
- Each language gets its own plugin (python-lsp.ts, rust-lsp.ts, etc.)
- Users can add custom plugins for unsupported languages
sinelaw pushed a commit that referenced this pull request Dec 29, 2025
This implements the plugin API and bundled plugins for the LSP install
helper feature as designed in PR #502.

New hooks added:
- LspServerError: Fired when LSP fails to start
- LspStatusClicked: Fired when user clicks LSP status indicator
- ActionPopupResult: Fired when user selects action from popup

New API functions:
- editor.showActionPopup(options): Show action popup with buttons
- editor.disableLspForLanguage(language): Disable LSP for a language

Bundled plugins created:
- python-lsp.ts: Python LSP helper with pip/pipx install commands
- rust-lsp.ts: Rust LSP helper with rustup/brew/cargo commands
- typescript-lsp.ts: TypeScript LSP helper with npm/yarn/pnpm commands

Note: The popup UI rendering is stubbed (fires 'dismissed' immediately)
and LSP disable doesn't persist to config yet. These require additional
UI and config integration work.
sinelaw pushed a commit that referenced this pull request Dec 29, 2025
This implements the plugin API and bundled plugins for the LSP install
helper feature as designed in PR #502.

New hooks added:
- LspServerError: Fired when LSP fails to start
- LspStatusClicked: Fired when user clicks LSP status indicator
- ActionPopupResult: Fired when user selects action from popup

New API functions:
- editor.showActionPopup(options): Show action popup with buttons
- editor.disableLspForLanguage(language): Disable LSP for a language

Bundled plugins created:
- python-lsp.ts: Python LSP helper with pip/pipx install commands
- rust-lsp.ts: Rust LSP helper with rustup/brew/cargo commands
- typescript-lsp.ts: TypeScript LSP helper with npm/yarn/pnpm commands

Note: The popup UI rendering is stubbed (fires 'dismissed' immediately)
and LSP disable doesn't persist to config yet. These require additional
UI and config integration work.
sinelaw pushed a commit that referenced this pull request Dec 29, 2025
This implements the plugin API and bundled plugins for the LSP install
helper feature as designed in PR #502.

New hooks added:
- LspServerError: Fired when LSP fails to start
- LspStatusClicked: Fired when user clicks LSP status indicator
- ActionPopupResult: Fired when user selects action from popup

New API functions:
- editor.showActionPopup(options): Show action popup with buttons
- editor.disableLspForLanguage(language): Disable LSP for a language

Bundled plugins created:
- python-lsp.ts: Python LSP helper with pip/pipx install commands
- rust-lsp.ts: Rust LSP helper with rustup/brew/cargo commands
- typescript-lsp.ts: TypeScript LSP helper with npm/yarn/pnpm commands

Note: The popup UI rendering is stubbed (fires 'dismissed' immediately)
and LSP disable doesn't persist to config yet. These require additional
UI and config integration work.
sinelaw pushed a commit that referenced this pull request Dec 29, 2025
This implements the plugin API and bundled plugins for the LSP install
helper feature as designed in PR #502.

New hooks added:
- LspServerError: Fired when LSP fails to start
- LspStatusClicked: Fired when user clicks LSP status indicator
- ActionPopupResult: Fired when user selects action from popup

New API functions:
- editor.showActionPopup(options): Show action popup with buttons
- editor.disableLspForLanguage(language): Disable LSP for a language

Bundled plugins created:
- python-lsp.ts: Python LSP helper with pip/pipx install commands
- rust-lsp.ts: Rust LSP helper with rustup/brew/cargo commands
- typescript-lsp.ts: TypeScript LSP helper with npm/yarn/pnpm commands

Note: The popup UI rendering is stubbed (fires 'dismissed' immediately)
and LSP disable doesn't persist to config yet. These require additional
UI and config integration work.
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