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

Summary: Find usage should also search other resources (eg. xml->hibernate...)
Product: editor Reporter: tomzi <tomzi>
Component: RefactoringAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 5.x   
Hardware: All   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:

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.