All dependencies have been successfully installed. You're now ready to build and run Som DVPS!
Open a terminal and run:
cd c:\code\vscode
npm run watchWhat this does:
- Compiles TypeScript to JavaScript
- Watches for file changes and auto-recompiles
- Keep this terminal running!
You'll see output like:
[watch-client] Starting compilation...
[watch-extensions] Starting compilation...
Wait until you see: Compilation complete. Watching for file changes.
Open a NEW terminal (keep the first one running) and run:
cd c:\code\vscode
.\scripts\code.batYour custom Som DVPS editor will launch! 🚀
Edit product.json:
{
"nameShort": "Som DVPS",
"nameLong": "Som DVPS Code Editor",
"applicationName": "som-dvps",
"dataFolderName": ".som-dvps",
"win32MutexName": "somdvps",
"licenseName": "MIT",
"licenseUrl": "https://github.com/yourusername/som-dvps/blob/main/LICENSE.txt",
...
}Replace these files in resources/win32/:
code.ico- Main application iconinno-big.bmp- Installer bannerinno-small.bmp- Installer icon
Edit src/vs/workbench/contrib/welcome/page/browser/welcomePage.ts
Place your extensions in extensions/ folder
When you're ready to create an installer:
npm run gulp vscode-win32-x64This creates a distributable package in .build/win32-x64/
| Command | Description |
|---|---|
npm run watch |
Watch mode (auto-recompile) |
npm run compile |
One-time compilation |
.\scripts\code.bat |
Launch Som DVPS |
npm test |
Run tests |
npm run eslint |
Lint code |
npm run gulp hygiene |
Check code hygiene |
npm run compile- Stop
npm run watch(Ctrl+C) - Run
npm run compile - Restart
npm run watch - Relaunch Som DVPS
npm run gulp clean
npm run compile- Customize branding in
product.json - Add your features in
src/vs/workbench/ - Create custom themes in
extensions/theme-*/ - Build and distribute your custom editor!
Congratulations on setting up Som DVPS! 🎊
Your custom VS Code fork is ready for development!