Submitter
Student
Area
Course setup or automation
What would you improve?
The instructions tell students to use the command:
code ~/Repos/it140-m2-assignment
which works great on Linux and macOS, but ~ has no special meaning on Windows from PowerShell when invoking code and ends up causing VS Code to create directory ~ and within it a directory called Repos and sets the user up to create a new file called it140-m2-assignment. The actual place where the ~ directory is created appears to be from whatever was the current directory the last time VS Code was run, although I didn't confirm that.
Not sure that it's a great choice, but an alternate that appears to works in PowerShell (but only PowerShell) is:
code "%USERPROFILE%\Repos\it140-m2-assignment"
If this is added as an alternate for Windows, please note that the command appears twice in module 2's README.md.
Why would this help?
No response
Submitter
Student
Area
Course setup or automation
What would you improve?
The instructions tell students to use the command:
code ~/Repos/it140-m2-assignmentwhich works great on Linux and macOS, but ~ has no special meaning on Windows from PowerShell when invoking code and ends up causing VS Code to create directory ~ and within it a directory called Repos and sets the user up to create a new file called it140-m2-assignment. The actual place where the ~ directory is created appears to be from whatever was the current directory the last time VS Code was run, although I didn't confirm that.
Not sure that it's a great choice, but an alternate that appears to works in PowerShell (but only PowerShell) is:
code "%USERPROFILE%\Repos\it140-m2-assignment"If this is added as an alternate for Windows, please note that the command appears twice in module 2's README.md.
Why would this help?
No response