Code Generation Prefix ignored
malmi opened this issue · comments
Hello,
thanks for this great plugin. I just got a little thing that would make this plugin perfect. In Settings -> Code Style -> Java -> Code Generation
, we can define a prefix and a suffix. Unfortunately the prefix will not be checked. So the generated code looks something like that, if the prefix is '_':
public Builder with_content(string _content) {
this._content = _content;
return this;
}
In my opinion is would be nicer if the generated code looks something like this:
public Builder withContent(string content) {
_content = content;
return this;
}
Hope you understand my point. Thanks anyways. 👍
Difficult to implement and cover all cases. Some people might want to have the prefix in the method name, some not.