Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 72386 - Find usage should also search other resources (eg. xml->hibernate...)
Find usage should also search other resources (eg. xml->hibernate...)
Status: RESOLVED FIXED
Product: editor
Classification: Unclassified
Component: Refactoring
5.x
All Windows ME/2000
: P3 (vote)
: 6.x
Assigned To: issues@java
issues@java
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo