I am installing the synthWave 84 theme for VS Code but when I turn on neon it gives an error: You must run VS code with admin privileges in order to enable Neon Dreams.I tried running VSCode as admin but still not working!
CodePudding user response:
I changed this on the file extension.js and worked for me:
Path: C:\Users\"YourUserName"\.vscode\extensions\robbowen.synthwave-vscode-0.1.11\src
const htmlFile =
base
(isWin
? "\\electron-sandbox\\workbench\\workbench.html"
: "/electron-sandbox/workbench/workbench.html");
const templateFile =
base
(isWin
? "\\electron-sandbox\\workbench\\neondreams.js"
: "/electron-sandbox/workbench/neondreams.js");
So, as you can look where it is written "electron-sandbox", it was "electron-browser" before.
After saving these changes, you run as administrator and try again, then it should work.