I am running Ubuntu 12.04LTS. Have the unpacked Visual Studio code in the folder that belongs to my user ID. All vscode files belong to my user ID (user and group). Install node, npm, typescript installed with apt-get (and npm).
Visual Studio code works fine, however the File-> Preferences-> Workspace options give this error:
Unable to create 'vscode / settings.json' (Error: EACCES: permission denied, mkdir '/.vscode').
Any ideas on how to resolve this? Where is he trying to do mkdir?
Thanks,
Bob Wirka
UPDATE: Sudo'd mkdir "/.vscode" (literally at the root level), and chown'd it recursively refers to my user and group. Voila! Now I can edit the settings.
So, is there a way to tell Visual Studio Code that it should not try to use the root folder?
source
share