A LSP Server for the Faust programming language.
To build, run
go buildTo install, run
go installThis will install a faustlsp executable in $HOME/go/bin.
- Document Synchronization
- Workspace Replication
- Diagnostics
- Syntax Errors
- Compiler Errors (can disable as they look ugly due to compiler limitations)
- Hover Documentation
- Code Completion
- Document Symbols
- Formatting
- Goto Definition
- Find References
You can configure the LSP server and it give it information about the project using a .faustcfg.json file defined in a project's root directory.
Configuration Options:
{
"command": "faust", // Faust Compiler Executable to use
"process_name": "process", // Process Name passed as -pn to compiler
"process_files": ["a.dsp"], // Files that have top-level processes defined
"compiler_diagnostics": true // Show Compiler Errors
}vscode-faust is a VS Code extension for Faust that works with faustlsp.