I clone the java code from gitlab firstly. Then I open one of the java classes with a editor without modifying any code. I find the relative indent of every method body disappear in any java class. I tried to open the class with more than one editor, including intellij idea, sts, notpad++. But When I use notpad which is installed in win10 natively. It goes as expected. This is the result opened by intellij idea, sts, notpad++: enter image description here
public ElasticSearchRepository(Class<E> entityClass) {
this.entityClass = entityClass;
}
This is the result opened by notpad in win10:
public ElasticSearchRepository(Class<E> entityClass) {
this.entityClass = entityClass;
}