Hacker News new | ask | show | jobs
by jackson1442 1801 days ago
I use a Mac, but I very frequently use `code .` to open vscode for the current directory.
1 comments

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.
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.