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.
Summary: | The indexer indexs only .php file | ||
---|---|---|---|
Product: | php | Reporter: | Petr Pisl <ppisl> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | krystyna, pjiricka, rmatous, tslota |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 137734 | ||
Bug Blocks: | |||
Attachments: | patch |
Description
Petr Pisl
2008-04-09 10:07:20 UTC
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 |