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.
Summary: | Add ability to set a prefix for all member variables | ||
---|---|---|---|
Product: | java | Reporter: | _ serff <serff> |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | mikeskells |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Quick fix to add a prefix field and function to "encapsulate field" refactoring. |
Description
_ serff
2004-10-04 23:17:13 UTC
Since this will require introducing a new setting, we will probably not be able to address this before promoF (nb4.2) Created attachment 22333 [details]
Quick fix to add a prefix field and function to "encapsulate field" refactoring.
The "quick fix" file I just added contains modified source and bundle files for the refactoring module. It is based on source code of NetBeans 4.1, as retrieved from cvs (release41). Unfortunatly, I dont have time to check the full NetBeans module architecture, so I'm quite sure it doesnt stick to it. However, I found this modification usefull and wanted to share it. Do whatever you think proper with it. This modification add a field in the dialog that shows when choosing "encapsulate field" and let you specify a prefix for your member variables. It is hard-coded initialized to "_" and then you can change it. The new prefix will not be saved, but it will remain until you restart netbeans. to spetit: Thank you very much for your contribution. However we are not able to do anything with it until you sign JCA - see http://www.netbeans.org/about/legal/jca.html Ok, I just faxed the JCA and mailed it to Prague. We will try to integrate it for 6.0 moving opened issues from TM <= 6.1 to TM=Dev |