This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In the PHPIndexer there is code in isIndexable method, which returns true only for files with .php extension. It has to be changed, because our mimeresolver recognizes also files with other extension as the php files.
Fixed by hardcoding a list of supported extensions and making a reference to it in PHPMimeResolver.xml. http://hg.netbeans.org/release61/rev/a4f108473759
I need to reopen the issue. The workaround doesn't work for extensions, which are added by user. We need to look at the mimetype
I think this issue should be solved in the project infrastructure, reassigning
This issue doesn't have anything with the php project. It has to be solved inside the indexing. The correct solution will probably need some changes in mimetype api.
Created attachment 65864 [details] patch
I have tested the patch and it seams that everything works. It doesn't influence the performance, which is good. I have applied Radek's patch.
Integrated into 'main-golden', available in build *200807310201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/926ea32a29f9 User: Petr Pisl <ppisl@netbeans.org> Log: #132388 - The indexer indexs only .php file