Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>fennel-lsNew to Visual Studio Code? Get it now.
fennel-ls

fennel-ls

adjuvant

|
5 installs
| (0) | Free
Fennel language server integration
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

fennel-ls

Visual Studio Code extension

Fennel language server integration

Connects Visual Studio Code to a Language Server - nothing more and nothing less.

Status

It should work, but might not. Tread carefully, and report back.

Setup

A compatible Fennel language server is required.

Either set fennel-lsx.server-version to "bundled" to use the bundled version of the fennel-ls language server. Lua >= 5.1 is still required.

Or, set it to "external" to use the executable specified with fennel-lsx.executable.

Fennel language support

This extension provides basic Fennel language support, but does not provide any syntax hightlighting. Use additional extensions: e.g. kongeor.vsc-fennel, or adjuvant.fennel-syntax if you feel adventurous.

Configuration

The configuration section fennel-ls mimics the available options of fennel-ls.

(I am temporarily using my own fork of fennel-ls to get the additional configuration option extra-globals.)

TODO

  • Command to rebuild bundled executable
  • Command to restart the language server
  • Expand the capabilities of the server
  • Maybe Semantic Highlighting?

Development

Start the "Run Extension" task in vscode (F5)

The npm run watch default build task should start automatically in the background.

Installation

npm install --ignore-scripts
npx vsce package
codium --install-extension vscode-fennel-ls-0.1.0.vsix

Notes

The configuration <language-server-id>.trace.server is used by the vscode-languageclient library to set its trace level.

License

MIT License

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft