VSCode-Wolfram uses a Wolfram Language kernel to build a .vsix
file.
VSCode-Wolfram uses CMake to generate build scripts.
npm must be installed on your system. Get npm from here: Get npm
Make sure that you have installed the required tools:
npm install -g vsce
Here is an example transcript using the default make generator to build VSCode-Wolfram:
cd vscode-wolfram
mkdir build
cd build
cmake ..
cmake --build .
The result is a .vsix
file in the build
directory.
Specify MATHEMATICA_INSTALL_DIR
if you have Mathematica installed in a non-default location:
cmake -DMATHEMATICA_INSTALL_DIR=/Applications/Mathematica.app/Contents/ ..
cmake --build .
On Windows:
cmake -DMATHEMATICA_INSTALL_DIR="C:/Program Files/Wolfram Research/Mathematica/13.1" ..
cmake --build .
You can install the paclet from CMake:
cmake --install .
This runs the vsce
command and installs the built .vsix
file.