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.
Solution:
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 ../
and execute
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.
I’ll certainly try it @m_m and report back with results! I’ve previously run into trouble with trying to trick windows into moving the profile directory but in the context of just the code process it would probably be fine:
@m_m – doesn’t work like that, but if you do it in a cmd.exe session it works. If you try it like that vscode fails to open and gives a bunch of path errors. I’ve updated my post to reflect this! Thanks for suggesting it!!