开发者

does netbeans support naming conventions for fields, parameters and local variables like eclipse

开发者 https://www.devze.com 2022-12-14 13:39 出处:网络
eclipse supports naming conventions for fields, parameters and local variables. For each variable type it is possible to configure a list of prefix or suffix or both. eclipse respects this configurati

eclipse supports naming conventions for fields, parameters and local variables. For each variable type it is possible to configure a list of prefix or suffix or both. eclipse respects this configuration when generating methods or getters/setters. is there a similar configuration option in netbeans? is there another way to achieve the same thing: i want to get parameters with prefixes, when generating implementations for abstract methods and i want the prefix to be removed, when generating getters/setters (example: for 开发者_开发问答_myVar it should generate getMyVar and setMyVar).


You can use Alt + Insert to generate some feature you need like getter and setter and constructors and ... . when you change something you can use re-factor.

0

精彩评论

暂无评论...
验证码 换一张
取 消