Ferret for VS Code
VS Code syntax support for the current Ferret language revision.
This extension currently provides:
- TextMate syntax highlighting
.fer and .ferret file recognition
fer.ret syntax + file icon
ferret.lock / .ferret.lock syntax + file icon
- bracket matching
- comment and auto-closing configuration
- LSP diagnostics via
ferret lsp
LSP setup
Install a ferret binary that supports ferret lsp, then configure if needed:
ferret.lsp.path: command/path to the Ferret binary
ferret.lsp.args: args for the language server command (default: ["lsp"])
Command resolution order is:
ferret.lsp.path (if set)
FERRET_LSP_PATH environment variable (if set)
ferret from PATH
Example:
{
"ferret.lsp.path": "/home/you/dev/Ferret-compiler-v2/compiler/build/core/bin/ferret",
"ferret.lsp.args": ["lsp"]
}
| |