Skip to content

Conversation

@jbearak
Copy link

@jbearak jbearak commented Jan 29, 2026

make minimal edits so that the Ark LSP will work standalone via --stdio and add a VS Code extension so that VS Code will use this LSP for R files

- New ark-lsp crate with minimal dependencies (no harp/libr/amalthea)
- Static R environment discovery without loading R runtime
- LSP features: folding, selection, symbols, diagnostics, completions,
  hover, signature help, goto definition, auto-indent
- VS Code extension with bundled binary support
- Zed editor configuration
- Package metadata parsing for installed R packages
- Rust WASM extension that registers ark-lsp as R language server
- Looks for ark-lsp in PATH
- Includes R language configuration
Remove languages/ directory so the extension only provides the LSP
without overriding Zed's built-in R language support.
Extend existing release workflows to build ark-lsp binaries and
platform-specific VS Code extensions (.vsix files) as part of the
unified ark release process.

Changes:
- release-linux.yml: Build and archive ark-lsp alongside ark
- release-macos.yml: Build ark-lsp per-arch, create universal binary with lipo
- release-windows.yml: Build, sign, and archive ark-lsp alongside ark
- release-vscode.yml: New workflow to package platform-specific .vsix files
- release.yml: Orchestrate vscode build, download/upload ark-lsp and .vsix
- bundle.js: Support CI mode (skip copy if binary pre-placed)
- package.json: Add package:target script for platform packaging
@github-actions
Copy link

Thank you for this PR! We ask that you sign our Contributor License Agreement before we accept your contribution. You can sign the CLA by posting a comment on this PR saying:


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@jbearak jbearak closed this Jan 29, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant