Skip to main content

Posts

Showing posts from May, 2019

Fast way of opening vs code from windows explorer

I like to find thing using Windows Explorer. I'm used to it. Before in tools like Visual Studio you could only double click the solution file and you where ready to go. Bot in Visual Studio Code (Code) you need to open though Code or cmd. Before I used to find the project folder i Windows Explorer and then type " cmd " in the address field. Cmd would open and I typed " code . ". But then I would have to you two steps, and I would have a hanging  Cmd window each time I open a project. Yes i'm lazy one could just close the open ones, but still adding one more step. The solution for me was the fact that you can add arguments in the address filed in Windows Explorer. So when I typed ' cmd /c "code . " '  Code will open directly. Nice back to one step, and the best part Windows Explorer remebers the command. Solution: cmd /c "code ."