CVasquezG
CVasquezG

Reputation: 457

How do I remove 'open with code' from my context menu for Visual Studio Code?

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"

Upvotes: 21

Views: 23376

Answers (3)

MattyMatt
MattyMatt

Reputation: 640

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

Upvotes: 3

alastairtree
alastairtree

Reputation: 4289

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.

Upvotes: 5

Balu
Balu

Reputation: 2457

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

Upvotes: 14

Related Questions