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""