Built-in LSP Servers
Symbiotic Code comes with several built-in LSP servers for popular languages:
LSP servers are automatically enabled when one of the above file extensions are detected and the requirements are met.
How it works
When Symbiotic Code opens a file, it:- Checks the file extension against all enabled LSP servers.
- Starts the appropriate LSP server if not already running.
Configure
You can customize LSP servers through thelsp section in your Symbiotic Code config.
symbiotic.json
Let’s look at some examples.
Environment variables
Use theenv property to set environment variables when starting the LSP server:
symbiotic.json
Initialization options
Use theinitialization property to pass initialization options to the LSP server. These are server-specific settings sent during the LSP initialize request:
symbiotic.json
Disabling LSP servers
To disable all LSP servers globally, setlsp to false:
symbiotic.json
disabled to true:
symbiotic.json
Custom LSP servers
You can add custom LSP servers by specifying the command and file extensions:symbiotic.json