Skip to content

kisielk/faustlsp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

faustlsp

A LSP Server for the Faust programming language.

Usage

To build, run

go build

To install, run

go install

This will install a faustlsp executable in $HOME/go/bin.

Features

  • 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

Configuration

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 
}

VS Code

vscode-faust is a VS Code extension for Faust that works with faustlsp.

About

A LSP Server Implementation for Faust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.9%
  • Nix 1.1%