A build helper script can be found at dev/build.sh.
./dev/build.sh./dev/build.shpowershell -ExecutionPolicy ByPass -File .\dev\build.ps1 or "C:\Program Files\Git\bin\bash.exe" ./dev/build.shThe insider version can be built with ./dev/build.sh -i on the insider branch.
You can try the latest version with the command ./dev/build.sh -il but the patches might not be up to date.
The script dev/build.sh provides several flags:
-i: build the Insiders version-l: build with latest version of Visual Studio Code-o: skip the build step-p: generate the packages/assets/installers-s: do not retrieve the source code of Visual Studio Code, it won't delete the existing build# for the stable version
cd ./stores/snapcraft/stable
# for the insider version
cd ./stores/snapcraft/insider
# create the snap
snapcraft --use-lxd
# verify the snap
review-tools.snap-review --allow-classic codium*.snap
./dev/build.sh, if a patch is failing then,./dev/update_patches.shPress any key when the conflict have been resolved..., open vscode directory in VSCodium*.rej filesyarn watch./script/code.sh until everything is okupdate_patches.sh./dev/build.sh, if a patch is failing then,vscode directory in VSCodiumgit apply --reject ../patches/<name>.patch*.rej filesyarn watch./script/code.sh until everything is okgit diff > ../patches/<name>.patchTo run icons/build_icons.sh, you will need:
npm install png2icns -g)