Regedit - Add Open in VSCode Insiders to Explorer Context Menu¶
Source: Adds ‘Open in VS Code - Insiders’ to context menu in Windows Explorer. (github.com)
Adds the following context menu items:
- Open Folder as VS Code Insiders Project (for clicking on a folders background in explorer)
- Open Folder as VS Code Insiders Project (for clicking on a folder directly)
- Edit with VS Code Insiders (for clicking on a file directly)
Windows Registry Editor Version 5.00
; ----------------------------------------------------------
; Open Folders (Background)
; ----------------------------------------------------------
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCodeInsiders]
@="Open Folder as VS Code Insiders Project"
"Icon"="C:\\Users\\jimmy\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\Code - Insiders.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCodeInsiders\command]
@="\"C:\\Users\\jimmy\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\Code - Insiders.exe\" \"%V\""
; ----------------------------------------------------------
; Open Folders (Normal)
; ----------------------------------------------------------
[HKEY_CLASSES_ROOT\Directory\shell\VSCodeInsiders]
@="Open Folder as VS Code Insiders Project"
"Icon"="C:\\Users\\jimmy\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\Code - Insiders.exe"
[HKEY_CLASSES_ROOT\Directory\shell\VSCodeInsiders\command]
@="\"C:\\Users\\jimmy\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\Code - Insiders.exe\" \"%1\""
; ----------------------------------------------------------
; Open File
; ----------------------------------------------------------
[HKEY_CLASSES_ROOT\*\shell\VSCodeInsiders]
@="Edit with VS Code Insiders"
"Icon"="C:\\Users\\jimmy\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\Code - Insiders.exe"
[HKEY_CLASSES_ROOT\*\shell\VSCodeInsiders\command]
@="\"C:\\Users\\jimmy\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\Code - Insiders.exe\" \"%1\""
Appendix: Links¶
- Code
- Development
- Registry
- Windows Registry Hacks
- 2-Areas/Code/Windows Registry/Regedit - Export Saved Registry Favorites
- RegEdit - Customizing Windows Explorer Context Menu
- PowerShell - Extract Icon from EXE
- Working with the Registry from PowerShell
- CMD - Restart Explorer and Start Menu
Backlinks:
list from [[Regedit - Add Open in VSCode Insiders to Explorer Context Menu]] AND -"Changelog"