-
Download and install Visual Studio Code (https://code.visualstudio.com/Download)
-
Download and install NodeJS (https://nodejs.org/en/download)
-
Download and install git (https://git-scm.com/downloads)
-
Download and install the JRE (https://java.com/en/download)
-
Open PowerShell
-
Install the Antlr CLI
npm install -g antlr4ts-cli
-
Clone the repository
git clone https://github.com/racz16/WebGL-GLSL-Editor.git
-
Go inside the repository's root folder
cd WebGL-GLSL-Editor
-
Install dependencies
npm install
-
Generate code
npm run compile-antlr-windows
You have to run this script again, every time you change the AntlrGlslLexer.g4 or the AntlrGlslParser.g4 files in the syntaxes folder.
-
Run the extension
Open the repository's root folder in Visual Studio Code and press F5.
-
Install the VSCE CLI
npm install -g vsce
-
Package the extension
vsce package
-
Open the Terminal
-
Install Visual Studio Code
snap install --classic code
-
Install npm
sudo apt install npm
-
Install git
sudo apt install git
-
Install the JRE
sudo apt install default-jre
-
Install the Antlr CLI
sudo npm install -g antlr4ts-cli
-
Clone the repository
git clone https://github.com/racz16/WebGL-GLSL-Editor.git
-
Go inside the repository's root folder
cd WebGL-GLSL-Editor
-
Install dependencies
npm install
-
Generate code
npm run compile-antlr-linux
You have to run this script again, every time you change the AntlrGlslLexer.g4 or the AntlrGlslParser.g4 files in the syntaxes folder.
-
Run the extension
Open the repository's root folder in Visual Studio Code and press F5.
-
Install the VSCE CLI
sudo npm install -g vsce
-
Package the extension
vsce package