Facebook
From Voluminous Tortoise, 2 Years ago, written in Plain Text.
This paste is a reply to ClickRightVSCode from kang CP - go back
Embed
Viewing differences between ClickRightVSCode and Re: ClickRightVSCode
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open [HKEY_CLASSES_ROOT*shellOpen with VS Code]
@="Edit with VS Code"
"Icon"="C:\\Program Files (x86)\\Microsoft "Icon"="C:\Users\davi1\AppData\Local\Programs\Microsoft VS Code\\Code.Code\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open [HKEY_CLASSES_ROOT*shellOpen with VS Code\command]
@="\"C:\\Program Files (x86)\\Microsoft 
Codecommand]
@=""C:\Users\davi1\AppData\Local\Programs\Microsoft 
VS Code\\Code.exe\" \"%1\""
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_ROOT\Directory\shell\vscode]
[HKEY_CLASSES_ROOTDirectoryshellvscode]
@="Open Folder as VS Code Project"
"Icon"="\"C:\\Program Files (x86)\\Microsoft "Icon"=""C:\Users\davi1\AppData\Local\Programs\Microsoft VS Code\\Code.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\vscode\command]
@="\"C:\\Program Files (x86)\\Microsoft 
Code\Code.exe",0"
[HKEY_CLASSES_ROOTDirectoryshellvscodecommand]
@=""C:\Users\davi1\AppData\Local\Programs\Microsoft 
VS Code\\Code.exe\" \"%1\""
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_ROOT\Directory\Background\shell\vscode]
[HKEY_CLASSES_ROOTDirectoryBackgroundshellvscode]
@="Open Folder as VS Code Project"
"Icon"="\"C:\\Program Files (x86)\\Microsoft "Icon"=""C:\Users\davi1\AppData\Local\Programs\Microsoft VS Code\\Code.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command]
@="\"C:\\Program Files (x86)\\Microsoft 
Code\Code.exe",0"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellvscodecommand]
@=""C:\Users\davi1\AppData\Local\Programs\Microsoft 
VS Code\\Code.exe\" \"%V\""Code\Code.exe" "%V""