- If you're running Ubuntu (or Debian) you'll need to install ALSA first, do so with:
sudo apt-get install libasound2-dev
. - Have Node.JS and
npm
installed. - Run
npm install
in this project. - Edit the deceleration file for the
node-speaker
package to actually work.- Open
node_modules/speaker/index.d.ts
. - Write
declare
in front of the namespace and class.
- Open
- Run
npx vsce package
to build and package the extension. - You should now have a
.vsix
file in your top directory. Install it by hittingF1
and typinginstall from VSIX
and then selecting the new file. - You might have to restart VS Code for the install to take effect.
If you actually want to help develop you can debug the extension jus by hitting
F5
in VS Code to start the built-in debugger.