Windows系统下安装PyCharm时会有勾选右键菜单的选项,勾选后可通过注册表删除或修改。
删除
进入注册表[HKEY_CLASSES_ROOT\Directory\Background\shell\PyCharm Community Edition]
直接删除PyCharm Community Edition项
修改
1.修改右键菜单名称
- 进入[HKEY_CLASSES_ROOT\Directory\Background\shell\PyCharm Community Edition]项(非下级项)
- 在PyCharm Community Edition项的默认内容中,将Open Folder as PyCharm Project修改为自己想要修改的内容,如“使用PyCharm加载该路径”
- 右键菜单内容会根据修改而改变,不需重启
2.修改右键功能选择
- 在文件夹按住shift + 右键会有“在此处打开命令窗口”的信息,我们同样可以把pycharm放入shift + 右键选单
- 进入[HKEY_CLASSES_ROOT\Directory\Background\shell\PyCharm Community Edition]项(非下级项)
- 新建字符串值,名称Extended,内容为空
- 新建字符串值,名称NoWorkingDirectory,内容为空
- 右键菜单将隐藏PyCharm,按住Shift + 右键将会出现