

[HKEY_CLASSES_ROOT\*\shell\Open with VS VS Code\\Code.exe\" \"%1\"" "Icon"="C:\\Users\\saber\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe,0" Then run it : Windows Registry Editor Version 5.00 Should replace SABER with your pc username My vscode installed here: C:\Users\saber\AppData\Local\Programs\Microsoft VS Code\code.exe

"Icon"="\"C:\\Program Files\\Microsoft VS Files\\Microsoft VS Code\\Code.exe\" \"%V\"" "Icon"="\"C:\\Program Files\\Microsoft VS Files\\Microsoft VS Code\\Code.exe\" \"%1\"" [HKEY_CURRENT_USER\Software\Classes\*\shell\Open with VS Files\\Microsoft VS Code\\Code.exe\" \"%1\"" "Icon"="C:\\Program Files\\Microsoft VS Code\\Code.exe,0" [HKEY_CURRENT_USER\Software\Classes\*\shell\Open with VS with VS Code" Here comes the version of file provided by Cockney Rhyming Jedi before suitable for use with 64-bit version of Visual Studio Code: Windows Registry Editor Version 5.00 C:\\Users\\\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe If you're running the 64-bit or Insiders version of VS Code, change the path accordingly.

If the "Open with Code" doesn't appear in the Explorer's context menu then you should restart your system. "Icon"="\"C:\\Program Files (x86)\\Microsoft VS Files (x86)\\Microsoft VS Code\\Code.exe\" \"%V\""ĭouble click it to create the registry entries. This will make it appear when you right click INSIDE a folder The "Icon" line can be removed if you don't want the icon to Folder as VS Code Project" This will make it appear when you right click ON a folder [HKEY_CLASSES_ROOT\*\shell\Open with VS Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\"" "Icon"="C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe,0" [HKEY_CLASSES_ROOT\*\shell\Open with VS with VS Code" Copied from Right click on Windows folder and open with Visual Studio CodeĬreate file vsCodeOpenFolder.reg with this content (If you didn't choose the default installation path then you need to adjust the paths in this file): Windows Registry Editor Version 5.00
