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.
Provide introduce variable refactoring
actions and UI http://hg.netbeans.org/main?cmd=changeset;node=2478adce5e5f
Integrated into 'main-golden', will be available in build *200901170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2478adce5e5f User: Vladimir Voskresensky <vv159170@netbeans.org> Log: actions and UI for: IZ#156905: Provide Introduce method refactoring IZ#156906: Provide introduce variable refactoring
consider for the next release due to lack of resources
Integrated into 'main-silver', will be available in build *201504270341* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9e29e492ce3e User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #156906 Provide introduce variable refactoring - enable editor pop-up menu action - invoke already existing fix for introduce variable action
some comments: VV1) same occurrences should be "tokens" similar, not pure text expecting: a + b and a+b to be similar VV2) additionally to "const" type in the C++ context it would be great to have "reference type (&)"
VV3: Show to user the type we are going to insert and allow to modify
Integrated into 'main-silver', will be available in build *201504280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8f6cf58159a9 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #156906 Provide introduce variable refactoring - check valid start and end occurrences - one occurrence is a second occurrence (show replace occurrences check box)
fixed, last change set: http://hg.netbeans.org/cnd-main/rev/3e1b2add6044
Integrated into 'main-silver', will be available in build *201504290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6fed90961588 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #156906 Provide introduce variable refactoring - unit tests