Recently we moved to IntelliJ and using it for JAVA, earlier we were using Eclipse, we are able to configure the IntelliJ code format setting same as Eclipse except for toString().
toString() output in POJO is very different from eclipse as shown below,
toString() in IntelliJ
@Override
public String toString() {
return "Entity{" +
"entityName='" + entityName + '\'' +
", isBaseEntity=" + isBaseEntity +
", entityAttribute=" + entityAttribute +
'}';
}
toString() in Eclipse
@Override
public String toString() {
return "Entity [entityName=" + entityName + ", isBaseEntity=" + isBaseEntity
+ ", entityAttribute=" + entityAttribute;
}
Question
Is there any way/setting through which I can make IntelliJ toString() same as eclipse?
