问题描述
我刚刚在Ubuntu上升级了Eclipse版本,现在每次打开Python文件时都会在外部窗口中打开它,而我在Eclipse中打开的现有Python文件说无法打开编辑器:没有用于以下内容的编辑器描述符id org.python.pydev.editor.PythonEditor。
I just upgraded my version of Eclipse on Ubuntu, and now whenever I open a Python file it opens in an external window, and the existing Python files I have open in Eclipse say "Could not open the editor: No editor descriptor for id org.python.pydev.editor.PythonEditor".
我尝试卸载并重新安装Eclipse和PyDev插件,但并没有解决问题。
I tried uninstalling and reinstalling both Eclipse and the PyDev plugin, and it didn't fix the problem.
推荐答案
根据我的经验(大约8年),在eclipse上没有进行本地更新。始终安装带有新工作区的新版本。并从SCM重新结帐项目。
From my experience (~8 years) with eclipse don't do in place updates. Always install a fresh version with a new workspace. And re-checkout projects from SCM.
在切换到新环境之前,请先检查所有必需的插件是否仍然可用。
Check first whether all required plugins still work before switching to the new environment.
这篇关于Eclipse升级杀死了PyDev的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!