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 109167 - Allow automatic field encapsulation for other code convention...
Summary: Allow automatic field encapsulation for other code convention...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Jan Becicka
URL: http://jcrada.googlepages.com
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-09 18:55 UTC by jcrada
Modified: 2010-09-23 08:39 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 jcrada 2007-07-09 18:55:11 UTC
Hi, at the company I work for we name variables following this convention:
 * all variables are in small caps separated by '_'
 * when they are class variables they start with '_'.
I would really appreciate it if you could allow the developer to change default convention for refactoring, particularly field encapsulation. I know this is a 
not Java Standard convention but I think this way is a lot better because camel case names are most likely a Class convention.
Another approach that would be nice is that when you change the getters name, setters sets using the same name. I mean, when I change getFirst_name to 
getFirstName, the setter should be set automatically following this convention. Or at least have a button to do it.

Thanks again,

Juan Rada