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: | Getter / setter generation should recognize members with _ | ||
---|---|---|---|
Product: | java | Reporter: | _ markroth8 <markroth8> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
_ markroth8
2007-08-06 03:02:46 UTC
At work I'm forced to prefix members with m_ and statics with s_. It would save a hell of a lot of my time if I could configure NB6 with this convention so that automatically generated getters, setters and constructors adhere to it. We prefix member variables with "m" and parameters with "p". Code will look like this: private String mName; public viod setName(final String pName) { mName = pName; } Specifically in longer methods/classes it is of great value if you know exactly from where the variable is deriving from. |