Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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"

like image 798
CVasquezG Avatar asked Nov 07 '15 04:11

CVasquezG


People also ask

How do I remove open with code from context menu?

The “Data” column for each value shows the program that appears on the “Open With” menu. Just right-click the one you want to remove from the menu and then select the “Delete” option.

How do I get rid of open with?

To remove a particular program from the open with list for that file type, right-click on it, and select delete. Repeat this step for all programs to be removed from the open with list for this file type. Repeat steps 12 through 15 for each file type that has programs that need to be removed from its open with list.

How do I get rid of open Editor in VS Code?

If you'd like to hide the open editors tab in VS Code, especially useful if you're trying to open multiple files in a folder at once and it keeps pushing the list down, you can open up settings Ctrl + , and search for openeditors and set the number of editors shown in the open editors pane to 0.


1 Answers

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
like image 188
Balu Avatar answered Oct 11 '22 11:10

Balu