I am one of the Windows users who have the problem that my username has a space in it. This causes make and other tools to not function correctly on Windows. Below is a solution to this problem. Unfortunately I couldn’t find the GitHub repo for Workbench; if it exists I’ll write up a better (and more automated) solution. But for now, do the following:
Situation: Your windows username has a space in it.
This causes make and other commands to fail.
- Create a “Junction” in windows without a space.
For example, if your user is “Bob Jones” change to your home directory and go up a level.
cd C:\Users\Bob Jones cd ../
mklink /D /J bjones "Bob Jones"
Now you’ll have a path without spaces. Next, open a
cmd.exe prompt and type:
set USERPROFILE=C:\Users\bjones code
The instance you start of vscode will work with the new path and not impact other programs depending on the USERPROFILE variable.