Skip to content

sublimelsp/LSP-wren-lsp

Repository files navigation

Wren Language Support for Sublime Text

This package provides language support for Wren via wren-lsp.

Features

  • 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)

Requirements

Installation

Via Package Control (Recommended - when published)

  1. Open Command Palette (Cmd/Ctrl+Shift+P)
  2. Type "Package Control: Install Package"
  3. Search for "Wren LSP"

Manual Installation

  1. Download/clone this repository
  2. 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/

LSP Binary

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:

  1. Download manually from releases
  2. Place it in your PATH, or
  3. Set the path in settings (see below)

Configuration

Access settings via: Preferences > Package Settings > LSP-wren-lsp > Settings

Usage

  1. Open a .wren file
  2. LSP will automatically start the language server
  3. Use LSP features via:
    • Command Palette (Cmd/Ctrl+Shift+P)
    • Right-click context menu
    • Keyboard shortcuts (see LSP package documentation)

Troubleshooting

LSP not starting?

  • Check the Sublime Text console (View > Show Console) for errors
  • Ensure wren-lsp is in your PATH or set the correct path in settings
  • Try disabling auto-download if behind a proxy

License

MIT

About

Wren language support for Sublime Text

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages