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.

Bug 72386 - Find usage should also search other resources (eg. xml->hibernate...)
Summary: Find usage should also search other resources (eg. xml->hibernate...)
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: All Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-08 09:55 UTC by tomzi
Modified: 2008-10-16 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2006-02-08 09:55:33 UTC
When 'finding usages' on a file which is registered in a eg. a hibarenate xml
file nb will not show its occurance. Since this case can be generalized there
should be an general option added, like

   (.) include config files (eg. xml, conf, properties...) 
       [_add file type_]

Thus nb also looks for the class name in those files
Comment 1 Petr Jiricka 2006-12-04 14:54:43 UTC
I agree. I guess for such files (with a structure that is unknown to the IDE),
refactoring should use a simple fulltext search and replace.
Comment 2 Jan Pokorsky 2008-10-16 14:38:27 UTC
It is already possible. Modules can register own refactoring plugins (RefactoringPluginFactory) to search in custom
files. AFAIK the hibernate plugin already exists.