

[HKEY_CLASSES_ROOT\*\shell\Open with VS with VS Code" You are then positioned to add these contents to the file: Windows Registry Editor Version 5.00 I am leveraging the excellent work of some of my friends on GitHub who created a Windows context menu item for Sublime Text 2/3.įirst, create a file with a “.reg” extension. It’s easier to simply re-install VS Code. Ignore the rest of this post unless you don’t want to re-install VS Code or if you are curious for other contexts.

When you see the dialog box below, be sure to check the two checkboxes highlighted. Major Edit: It turns out that when you install VS Code for Windows, you have an opportunity to add an “Open with Code” action to the Windows Explorer file context menu-if you don’t hastily sprint through the installation and take the defaults like I did the first time around. 🙂 Take a deep breath and jog rather than scream through the installation. We’re going to add a right click context menu item to “Open Folder as VS Code Project” since it saves time-and it’s more fun! I am then able to use VS Code to create my Node.js code and jump onto the RasPi to run the actual code.Īnyway, back to our regularly scheduled program… Today’s topic is aimed at Windows users who are using Visual Studio Code and want to be able to right click on a given folder and launch VS Code. To accomplish this, I create a Windows file share on the RasPi as described in my Beginner’s Guide to Installing Node.js on the Raspberry Pi and map a drive on my Windows system to the RasPi. I enjoy it so much that I also use it for Node.js projects on the Raspberry Pi.

It is a lightweight code editor and runs on Windows, Mac OS X, and Linux. I’m all about using Visual Studio Code for Node.js development.
