Answers for "add visual studio code to context menu in windows"

2

Right click on Windows folder and open with Visual Studio Code

Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT*shellOpen with VS Code]
@="Edit with VS Code"
"Icon"="C:\Program Files (x86)\Microsoft VS Code\Code.exe,0"
[HKEY_CLASSES_ROOT*shellOpen with VS Codecommand]
@=""C:\Program Files (x86)\Microsoft VS Code\Code.exe" "%1""
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOTDirectoryshellvscode]
@="Open Folder as VS Code Project"
"Icon"=""C:\Program Files (x86)\Microsoft VS Code\Code.exe",0"
[HKEY_CLASSES_ROOTDirectoryshellvscodecommand]
@=""C:\Program Files (x86)\Microsoft VS Code\Code.exe" "%1""
; 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 appear
[HKEY_CLASSES_ROOTDirectoryBackgroundshellvscode]
@="Open Folder as VS Code Project"
"Icon"=""C:\Program Files (x86)\Microsoft VS Code\Code.exe",0"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellvscodecommand]
@=""C:\Program Files (x86)\Microsoft VS Code\Code.exe" "%V""



Use This Lines And save file as .reg extension file and run it
ex: addVscode.reg
Posted by: Guest on November-28-2020

Code answers related to "add visual studio code to context menu in windows"

Browse Popular Code Answers by Language