右键用 pycharm打开

vs code 添加右键


Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\*\shell\VSCode]
@="Open with Code"
"Icon"="D:\\software\\Microsoft VS Code\\Code.exe"
 
[HKEY_CLASSES_ROOT\*\shell\VSCode\command]
@="\"D:\\software\\Microsoft VS Code\\Code.exe\" \"%1\""
 
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open with Code"
"Icon"="D:\\software\\Microsoft VS Code\\Code.exe"
 
[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@="\"D:\\software\\Microsoft VS Code\\Code.exe\" \"%V\""
 
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
@="Open with Code"
"Icon"="D:\\software\\Microsoft VS Code\\Code.exe"

 

First of all, Win + R and type regedit (Registry Editor), press Enter.

  1. To delete "Open Folder as PyCharm ..." in the menu when right click on the folder background:

    • Navigate to "Computer\HKEY_CLASSES_ROOT\Directory\Background\shell\PyCharm Community Edition".
    • Delete the whole "PyCharm Community Edition" folder.
  2. To delete "Edit with PyCharm ..." in the menu when right click on the file icon:

    • Navigate to "Computer\HKEY_CLASSES_ROOT*\shell\Open with PyCharm Community Edition".
    • Delete the whole "Open with PyCharm Community Edition" folder.
  3. To delete "Open Folder as PyCharm ..." in the menu when right click on the folder icon:

    • Navigate to "Computer\HKEY_CLASSES_ROOT\Directory\shell\PyCharm Community Edition".
    • Delete the whole "PyCharm Community Edition" folder.

 

发现VS Code更适合之后,果断删除了PyCharm。
但是有三个右键菜单项仍然显示,而PyCharm又失效,强迫症必须把它们给干掉。
终于被我找到了一个亲测有效的方法。

在这里插入图片描述

你可能感兴趣的:(python)