I'm trying to create a language server for VSCode. It's made up of a client and a server, communicating over RPC.
The official docs have a working example, with the language-server split into in two directories, the client
and the server
.
What I want to do is to package both into a VSIX file, so I can install them together.
In their example, they say cd
to the client
directory and run vsce package
. However, If I do that and install the resultant package, VSCode says
"Error: Cannot find module '/home/blah/vscode.language-client-example-0.0.1/server/server.js"
I can't run vsce package
in the server
directory, as it complains
"Error: Missing publisher name"
How do I package it?