简体   繁体   English

PyDev Search在Eclipse上无法正常工作

[英]PyDev Search doesn't work properly on Eclipse

I have Eclipse Luna Release (4.4.0), and I have been using it for years. 我有Eclipse Luna版本(4.4.0),并且已经使用了很多年。

For the first time, only on a specific project, the PyDev search doesn't work properly. 第一次,仅在特定项目上,PyDev搜索无法正常工作。 As an example, if I try to search for the name of a function that I know to be there, it doesn't find it, and there are no typos. 例如,如果我尝试搜索一个我知道存在的函数的名称,它将找不到它,并且没有错别字。 This happens for most of the search, even if some of them give the expected result. 即使其中一些给出了预期的结果,大多数搜索也会发生这种情况。

The weirdest thing is that if I use the file search then it works. 最奇怪的是,如果我使用文件搜索,那么它将起作用。 Why is that? 这是为什么? Do you know any ways to solve? 您知道什么解决方法吗?

In Navigator view, right-click the project name and select PyDev > Set as source folder (add to PYTHONPATH). 在导航器视图中,右键单击项目名称,然后选择PyDev>设置为源文件夹(添加到PYTHONPATH)。

After that I find PyDev search works. 之后,我发现PyDev搜索有效。 Very handy as a quicker search function. 方便快捷的搜索功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM