News for hackers. Stuff that matters.
Re:Why does the New menu even exist for creating new empty f... by jabbequbs on Wednesday July 21, 2021 @12:31AM (#27902349)
Another one that I use from the address bar is "subl -n ." to open a temporary Sublime Text project. I imagine you could do something similar with VS Code.
Re:Why does the New menu even exist for creating new empty f... by jackson1442 on Wednesday July 21, 2021 @01:05AM (#27902519)
I use a Mac, but I very frequently use `code .` to open vscode for the current directory.
Re:Why does the New menu even exist for creating new empty f... by mmis1000 on Wednesday July 21, 2021 @04:22AM (#27903746)
That didn't work in windows because it tries to open the unix shell wrapper "code" instead of "code.cmd" for some reason.(Because I have wsl2 installed?) Type "code.cmd ." instead works.
Re:Why does the New menu even exist for creating new empty f... by sundvor on Wednesday July 21, 2021 @08:43AM (#27905494)
Hmmmm, I use WSL2/Ubuntu and I always navigate to my folder in Terminal and type `code .` from there - works perfectly. Really love this integration.