Facebook
From tuyen, 9 Months ago, written in Plain Text.
This paste is a reply to ClickRightVSCode from kang CP - view diff
Embed
Download Paste or View Raw
Hits: 320
  1. Windows Registry Editor Version 5.00
  2. ; Open files
  3. [HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
  4. @="Edit with VS Code"
  5. "Icon"="C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe,0"
  6. [HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
  7. @="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\""
  8. ; This will make it appear when you right click ON a folder
  9. ; The "Icon" line can be removed if you don't want the icon to appear
  10. [HKEY_CLASSES_ROOT\Directory\shell\vscode]
  11. @="Open Folder as VS Code Project"
  12. "Icon"="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\",0"
  13. [HKEY_CLASSES_ROOT\Directory\shell\vscode\command]
  14. @="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\""
  15. ; This will make it appear when you right click INSIDE a folder
  16. ; The "Icon" line can be removed if you don't want the icon to appear
  17. [HKEY_CLASSES_ROOT\Directory\Background\shell\vscode]
  18. @="Open Folder as VS Code Project"
  19. "Icon"="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\",0"
  20. [HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command]
  21. @="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%V\""