Skip to content

Instantly share code, notes, and snippets.

@adithya2306
Created May 27, 2025 14:02
Show Gist options
  • Save adithya2306/793b21451fc096978bb0b9b39c635ab0 to your computer and use it in GitHub Desktop.
Save adithya2306/793b21451fc096978bb0b9b39c635ab0 to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00
; Add "Open with VS Code" to folder context menu
[HKEY_CLASSES_ROOT\Directory\shell\Open with VS Code]
@="Open with VS Code"
"Icon"="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\""
[HKEY_CLASSES_ROOT\Directory\shell\Open with VS Code\command]
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%V\""
; Add "Open with VS Code" to background context menu (empty area)
[HKEY_CLASSES_ROOT\Directory\Background\shell\Open with VS Code]
@="Open with VS Code"
"Icon"="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\Open with VS Code\command]
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment