Som DVPS is a custom, high-performance code editor built on the robust core of Visual Studio Code. This repository contains the source code, build scripts, and customization tools to build, run, and distribute your own version.
Before you do anything, you MUST have these specific versions installed.
You need a recent version of Node.js. The project is tested with v22.21.1.
- Direct Download (Windows x64 MSI): Download Node.js v22.21.1
- Verify installation:
(Output should be
node -v
v20.x.xorv22.x.x)
You need the Microsoft C++ compiler to build the native modules used by the editor.
- Direct Download Installer: vs_buildtools.exe
- Installation Instructions:
- Run the installer.
- Select "Desktop development with C++" workload.
- On the right side, ensure these specific components are checked:
- β MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
- β Windows 11 SDK (10.0.xxxxx.x)
- β C++ CMake tools for Windows
- β MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (Optional, but recommended to avoid warnings)
- Install Python 3 from the Microsoft Store or python.org.
-
Clone the repository:
git clone https://github.com/yousumohamed/Som-Dvps-Code1.git cd Som-Dvps-Code1 -
Run the automated installer: We have created a special script that handles all the complex setup for you.
.\install_som_dvps.bat
- This script sets strict build flags and installs all NPM dependencies.
- Wait for it to finish. If it succeeds, you are ready!
There are two ways to run the app depending on what you are doing.
Use this if you just want to launch the editor and use it.
npm run som-dvps- What it does: Launches the pre-compiled version of the app immediately.
Use this if you are editing the source code (JS/TS files) and want to see changes live.
-
Open Terminal 1 and run:
npm run watch
(This starts the incremental compiler. Wait for it to quiet down.)
-
Open Terminal 2 and run:
npm run som-dvps
(Now, if you change a file, Terminal 1 will recompile it, and you can reload Terminal 2 to see changes.)
Ready to share Som DVPS with the world? You can build a professional installer.
- Close all running instances of Som DVPS.
- Run the build script:
.\build_release.bat
- Wait patiently. This process takes 15-20 minutes.
- It cleans old files.
- It compiles and minifies the code (runs
gulp minify). - It builds the Windows executables.
- It creates a Setup Installer.
Once the script says "Build Complete!", look in these folders:
-
The Installer (Share this file):
C:\code\vscode\.build\win32-x64\system-setup\VSCodeSetup.exe(Rename this toSomDVPS_Setup.exebefore sharing!) -
The Zippable Folder:
C:\code\vscode\.build\win32-x64\Som DVPS-win32-x64\
- Replace the file
resources\win32\code.icowith your own.icofile. - Run
build_release.batto bake it into the.exe.
- Open Visual Studio Installer.
- Click Modify on your Build Tools.
- Go to Individual Components.
- Search for "Spectre".
- Check MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (Latest).
- Click Modify to install.
- Open
product.json. - Edit
nameShort,nameLong, andapplicationName. - Rebuild using
build_release.bat.
Som DVPS Team - Built for Developers, by Developers.