vscode-java-code-generator
vscode-java-code-generator copied to clipboard
Generate Getters duplicate with boolean property
as you can see, my variable name is is_pinned. It would be better if isIs_pinned only have 1 is (ie: isPinned)

isPinned was a terrible idea, Hibernate can't recognize it:
Caused by: org.hibernate.PropertyNotFoundException: Could not locate setter method for property [fpt.saplab.sciencemanagementandinternationalaffairsresearcher.model.Article#pinned]
getIs_pinned and Is_pinned works well, also with isIs_pinned 😂
Why are you using snake case in Java?
name the variable to just pinned and let the generator append is to it.
also we follow Java Naming Conventions, Java follows camel-case syntax for naming the class, interface, method, and variable.