Summary: | [Search] Search fails to consider files not opened in the editor | ||
---|---|---|---|
Product: | [Tools] CDT | Reporter: | James Ciesielski <jciesiel> |
Component: | cdt-parser | Assignee: | Bogdan Gheorghe <gheorghe> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P1 | CC: | john.camelon |
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
James Ciesielski
2004-04-29 15:26:02 EDT
Sounds like you are only searching the working copies Bogdan ... This is fixed in head as of May 5. It was a problem with the index enablement feature that got put in last week whereby certain paths would neglect to pick up the persisted indexer-enabled value.1 BG This problem still appears to exists in CDT 200405071349. Bogdan, could this be related to 57145? Part of the problem here is that you are trying to search on a header file that hasn't been included by anything. Our policy has always been to index headers that are included by a source file. If you add a source file that includes your header and copy both of those files over to the second project, everything works as expected. But there is a valid point in that search wasn't properly filtering working copies. Following your steps exactly you should get no results. I was getting a result if the file was open. This is now fixed and in head. - BG Hi, I reproduced this bug and it needs to be reopened. Thanks, Pixy. Thy will be done! This bug is done - refer to Bug 60948 for indexing unincluded headers. Commited to head but should go into 2.0 stream as well... - BG John, can you change this bug to be in 2.0.1? Is this one fixed? Thanks. Fixed in head but I need to put in the 2.0 stream. I'll do that along with my other commits today. - BG Fixed a while back... |