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 57522

Summary: Introduce Variable Refactoring
Product: editor Reporter: Daniel Prusa <dprusa>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED FIXED    
Severity: blocker CC: pbuzek, pfiala, pjiricka
Priority: P3 Keywords: API_REVIEW_FAST
Version: 4.x   
Hardware: All   
OS: All   
URL: http://refactoring.netbeans.org/refactorings/introducevariable.html
Issue Type: ENHANCEMENT Exception Reporter:

Description Daniel Prusa 2005-04-06 09:29:51 UTC
This issue tracks implementation of Introduce Variable refactoring.
Comment 1 Martin Matula 2005-08-02 16:27:15 UTC
We would like to add this to the regular refactoring module ASAP. This will
become part of the refactoring friend API that j2ee modules depend on. Please
confirm we can do this.
Comment 2 Pavel Fiala 2005-08-02 16:30:06 UTC
No problem.
Comment 3 Pavel Buzek 2005-08-02 17:05:26 UTC
ok with me
Comment 4 Jan Becicka 2005-08-18 07:48:25 UTC
I'll move it.
Comment 5 Tim Lebedkov 2005-10-26 20:34:29 UTC
just a small comment here instead of opening a new issue:
What about "introduce constant"?
- select a constant (e.g. "NetBeans")
- refactor/introduce constant
- it searches for all occurencies of "NetBeans" in the current file/class,
  maybe shows them and creates a
  public static final String NETBEANS = "NetBeans"; 
Comment 6 Jan Becicka 2006-11-22 14:04:25 UTC
This feature will be implemented probably as a hint.
Comment 7 Jan Becicka 2006-11-29 09:01:02 UTC
*** Issue 90243 has been marked as a duplicate of this issue. ***
Comment 8 Jan Becicka 2007-10-03 09:22:27 UTC
Already implemented as java hint.