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 229845 - Add 'Update fully qualified names in non-Java text files' for Move refactoring
Summary: Add 'Update fully qualified names in non-Java text files' for Move refactoring
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 229844 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-16 10:51 UTC by tomzi
Modified: 2013-05-22 09:29 UTC (History)
0 users

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 2013-05-16 10:51:04 UTC
Please make Move refactoring for non-Java related files available

Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Linux version 3.8.0-19-generic running on amd64
Java; VM; Vendor = 1.7.0_21
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Comment 1 Ralph Ruijs 2013-05-16 11:41:06 UTC
The java refactoring support has different plugins updating several non-java files. Can you give a more detailed explanation of the type of file you want to see updated?
Comment 2 tomzi 2013-05-16 14:54:06 UTC
Any text file that contains the fully qualified classname. It would even help to configure the file type: like *.*, *.xml, *.properties

Eg in workflow xml for jpdl, or properties files that contain homemade configurations, that are clearly not supported by any plugin.

The result should always be 'Previewed'.
Comment 3 Ralph Ruijs 2013-05-20 07:43:55 UTC
(In reply to comment #2)
> Any text file that contains the fully qualified classname. It would even help
> to configure the file type: like *.*, *.xml, *.properties
> Eg in workflow xml for jpdl, or properties files that contain homemade
> configurations, that are clearly not supported by any plugin.
> The result should always be 'Previewed'.

This will be just a textual find & replace, this can be done with Replace in Projects... Ctrl+Shift+H
Comment 4 Ralph Ruijs 2013-05-20 07:44:09 UTC
*** Bug 229844 has been marked as a duplicate of this bug. ***
Comment 5 tomzi 2013-05-22 09:29:37 UTC
Yes and no, 

The idea is to *help* the user to not type things twice. I do not want to first refactor a classname and then do Find and Replace all over again to find textual appearances again. This is twice the work.

I want that if I do refactor my classname/'move it' that I only have to check a box to 'find fully qualified appearances in text filex' too (like eclipse does it already) which will open the Preview for refactorings for all the changes.

That will save a 'lot' of work for the user!