This package provides language support for Wren via wren-lsp.
- Diagnostics (syntax + semantic checks)
- Code completion
- Hover information
- Go to definition
- Find references
- Rename symbol
- Semantic tokens
- Document symbols (outline)
- Signature help
- Document highlights
- Code actions (quick fixes)
- Workspace symbols
- Folding ranges
- Selection range
- Inlay hints (type hints)
- Sublime Text 4 (build 4000+)
- LSP package (install via Package Control)
- Wren syntax package
- Open Command Palette (
Cmd/Ctrl+Shift+P) - Type "Package Control: Install Package"
- Search for "Wren LSP"
- Download/clone this repository
- Copy/move the folder to your Sublime Text Packages directory:
- macOS:
~/Library/Application Support/Sublime Text/Packages/ - Linux:
~/.config/sublime-text/Packages/ - Windows:
%APPDATA%/Sublime Text/Packages/
- macOS:
The extension will auto-download the appropriate wren-lsp binary for your platform from GitHub releases if it is not already available. Alternatively, you can:
- Download manually from releases
- Place it in your PATH, or
- Set the path in settings (see below)
Access settings via: Preferences > Package Settings > LSP-wren-lsp > Settings
- Open a
.wrenfile - LSP will automatically start the language server
- Use LSP features via:
- Command Palette (
Cmd/Ctrl+Shift+P) - Right-click context menu
- Keyboard shortcuts (see LSP package documentation)
- Command Palette (
LSP not starting?
- Check the Sublime Text console (
View > Show Console) for errors - Ensure
wren-lspis in your PATH or set the correct path in settings - Try disabling auto-download if behind a proxy
MIT