Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
Nightly /
Installation

Icon LinkInstallation

The Sway language server is contained in the forc-lsp binary, which is installed as part of the Fuel toolchain . Once installed, it can be used with a variety of IDEs. It must be installed for any of the IDE plugins to work.

Icon InfoCircle

Note: There is no need to manually run forc-lsp (the plugin will automatically start it), however both forc and forc-lsp must be in your $PATH. To check if forc is in your $PATH, type forc --help in your terminal.

Icon LinkVSCode

This is the best supported editor at the moment.

You can install the latest release of the plugin from the marketplace Icon Link.

Note that we only support the most recent version of VS Code.

Icon LinkCode OSS (VSCode on Linux)

  1. Install code-marketplace Icon Link to get access to all of the extensions in the VSCode marketplace.
  2. Install the Sway Icon Link extension.

Icon Linkvim / neovim

Follow the documentation for sway.vim Icon Link to install.

Icon Linkhelix

Install helix Icon Link and Sway LSP will work out of the box.

Sway support is built into helix using tree-sitter-sway Icon Link.

Icon LinkEmacs

Coming soon! Feel free to contribute Icon Link.