VS Code syntax support for the current Ferret language revision.
This extension currently provides:
- TextMate syntax highlighting
.ferand.ferretfile recognitionfer.retsyntax + file iconferret.lock/.ferret.locksyntax + 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 binaryferret.lsp.args: args for the language server command (default:["lsp"])
Command resolution order is:
ferret.lsp.path(if set)FERRET_LSP_PATHenvironment variable (if set)ferretfrom PATH
Example:
{
"ferret.lsp.path": "/home/you/dev/Ferret-compiler-v2/compiler/build/core/bin/ferret",
"ferret.lsp.args": ["lsp"]
}