[英]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.我已经卸载了 Visual Studio Code,但是当我右键单击一个文件夹时,“用代码打开”选项仍然在我的上下文菜单中。
If I install VS Code again, it will keep the old option and adds a second entry which opens VS code.如果我再次安装 VS Code,它将保留旧选项并添加第二个条目以打开 VS Code。
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
I used ShellMenuView to find the offending records (there were several) and optionally disable them.我使用ShellMenuView来查找违规记录(有几个)并可选择禁用它们。 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.一个是HKEY_CLASSES_ROOT\\directory\\shell\\Ticino\\Command
但还有其他的。
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\\Background\\shell
HKEY_CLASSES_ROOT\\Directory\\shell\\ HKEY_CLASSES_ROOT\\目录\\shell\\
You can also move them to shift+right click as per this answer: https://superuser.com/a/1332589您还可以按照以下答案将它们移动到 shift+右键单击: https : //superuser.com/a/1332589
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.