Answers for "windows right click open folder via vscode"

6

right click open folder with vs code

my vscode installed here:

C:UsersZardenAppDataLocalProgramsMicrosoft VS Codecode.exe
should replace Zarden with your pc username

1) create a file with a notepad "example.reg"
then paste code to it :

2) Always should replace Zarden with your pc username, and after that run it

Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT*shellOpen with VS Code]
@="Edit with VS Code"
"Icon"="C:\Users\Zarden\AppData\Local\Programs\Microsoft VS Code\Code.exe,0"
[HKEY_CLASSES_ROOT*shellOpen with VS Codecommand]
@=""C:\Users\Zarden\AppData\Local\Programs\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:\Users\Zarden\AppData\Local\Programs\Microsoft VS Code\Code.exe",0"
[HKEY_CLASSES_ROOTDirectoryshellvscodecommand]
@=""C:\Users\Zarden\AppData\Local\Programs\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:\Users\Zarden\AppData\Local\Programs\Microsoft VS Code\Code.exe",0"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellvscodecommand]
@=""C:\Users\Zarden\AppData\Local\Programs\Microsoft VS Code\Code.exe" "%V""
Posted by: Guest on January-10-2022
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 "windows right click open folder via vscode"

Browse Popular Code Answers by Language