Configure custom Language Servers for VS Code in settings.json
{
"lspConfig.servers": [
{
"language": "go",
"cmd": "gopls",
},
{
"language": "zig",
"cmd": "zls",
},
{
"language": "javascript",
"cmd": "node",
"args": "/path/to/custom/language/server.js"
}
]
}
You might wonder why choose LSP Config when there are already feature-packed Language Server extensions like those for Go and Zig.
Here's the deal: Setting up Language Server Protocol (LSP) in Neovim was a breeze for me. But when I tried to do the same in Visual Studio Code, it turned out to be a real hassle. Imagine needing to create a whole extension just to test my LSP setup! That's when it hit me—I needed a simpler way to check if my LSP worked well in VS Code. And that's exactly why I made this Extension.
If you have a question, found a bug or want to propose a feature, have a look at the issues page.