20

I have uninstalled Visual Studio Code, but the "open with code" option is still in my context menu when I right click a folder.

If I install VS Code again, it will keep the old option and adds a second entry which opens VS code.

Context menu with "open with code"

Stevoisiak
  • 23,794
  • 27
  • 122
  • 225
CVasquezG
  • 447
  • 1
  • 4
  • 12
  • Related: [How to remove items from the right click (context) menu in Windows?](https://superuser.com/q/5011/358766) – Stevoisiak Jun 19 '18 at 15:25

3 Answers3

13

This link will help you to modify registry.

Most of the menu items that used for all files and folders can be found at one of these keys:

HKEY_CLASSES_ROOT\*\shell    
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers    
HKEY_CLASSES_ROOT\AllFileSystemObjects\ShellEx
Balu
  • 2,247
  • 1
  • 18
  • 23
5

I used ShellMenuView to find the offending records (there were several) and optionally disable them. You can then right click and select properties on the "Open with code" rows to find the registry paths. With that info I could delete the relevant keys from the registry manually. One was HKEY_CLASSES_ROOT\directory\shell\Ticino\Command but there were others.

alastairtree
  • 3,960
  • 32
  • 49
3

Old question, but I got here searching for those exact terms.

You may also find right click options here: HKEY_CLASSES_ROOT\Directory\Background\shell
HKEY_CLASSES_ROOT\Directory\shell\

You can also move them to shift+right click as per this answer: https://superuser.com/a/1332589

MattyMatt
  • 531
  • 5
  • 21