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.
[ BUILD # : 200411231853 ] [ JDK VERSION : J2SE 1.5.0 ] If you put the cursor over a field in the code editor, right-click and select refactor->Encapsulate Fields... the field is the only one selected. If you place the cursor in the body of the class, all the fields are selected for encapsulation. A middle road would be nice: Select a range of fields in the editor, right-click and have only those fields selected in the encapsulation dialog.
*** Issue 69956 has been marked as a duplicate of this issue. ***
*** Issue 63112 has been marked as a duplicate of this issue. ***
*** Issue 64784 has been marked as a duplicate of this issue. ***
Increasing priority since it seems there is a demand for this feature.
Changeset: http://hg.netbeans.org/jet-main/rev/331688c7b104 Author: Jan Becicka <jbecicka@netbeans.org> Date: 2011-06-15 16:44 Message: Issue #51919 - [40cat] Select fields to be encapsulated from the cursor selection
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/331688c7b104 User: Jan Becicka <jbecicka@netbeans.org> Log: Issue #51919 - [40cat] Select fields to be encapsulated from the cursor selection