Answers for "how to setup open in vs code buttton"

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
16

V S Code folder structure

File > Preference > Settings and disable "explorer.compactFolders".

//type "explorer.compactFolders" in search box
Posted by: Guest on July-21-2020

Code answers related to "how to setup open in vs code buttton"

Browse Popular Code Answers by Language