eclipse 中的 pydev 插件未在项目资源管理器中显示文件
我在 eclipse 中使用 pydev 插件。我可以创建项目,但在项目资源管理器中看不到文件。
我附上屏幕截图。知道如何解决它。
谢谢 Kiran
I am using pydev plugin in eclipse. I can create the project, but I cannot see the files in the project explorer.
I am attaching the screenshot. Any idea how to fix it.
Thanks
Kiran
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 Pydev 资源管理器中按 Ctrl+F10,然后从顶级元素中选择项目。它将显示您工作区中的项目
in Pydev explorer Ctrl+F10 then from Top Level Elements choose Projects. It will show the projects in your workspace
我有一个小解决方法。我不确定“PyDev Package Explorer”和“Package Explorer”之间应该有什么区别,但很明显其中之一是有问题的。
我很清楚这是2011年的事情,但我在搜索时遇到了这个问题。我希望我的回答能帮助别人。
I got a little workaround. I'm not sure what the difference between "PyDev Package Explorer" and "Package Explorer" is supposed to be, but it's clear that one of them is buggy.
I'm well aware that this is from 2011, but I came across this question while searching for it. I hope my answer will help someone.
看来 Eclipse 没有最新的资源...
您是否配置了 Eclipse 自动刷新资源?
偏好设置>一般>启动和关闭:选中“启动时刷新工作区”
首选项>工作区:选中:自动刷新(这取决于您的 Eclipse 版本 - 在 3.7 中,设置发生了一些更改,但应该很容易知道哪些配置是相关的)。
您还可以尝试手动刷新:F5 或右键单击:刷新。
另一件需要检查的事情是项目的路径是否确实是您期望的路径(即:具有资源的路径)——您可以按 Alt+Enter 打开项目的属性并检查位置是否为实际上是正确的。
It seems that Eclipse does not have the resources up to date...
Have you configured Eclipse to do automatic refresh of resources?
Preferences > General > Startup and Shutdown: check 'Refresh workspace on startup'
Preferences > Workspace: check: Refresh automatically (this depends on your Eclipse version -- in 3.7 the settings were changed a bit, but it should be easy to know which configurations are related).
You can also try making a manual refresh: either F5 or right-click: refresh.
Another thing to check is if the path of the project is actually the path you're expecting (i.e.: the path that has the resources) -- you can press Alt+Enter to open the properties for the project and check if the location is actually correct.