IntelliJ IDEA 2017.1 shows "var" instead of actual type

After upgrading to IntelliJ IDEA 2017.1, variables no longer show their types. Instead, he shows var

. In addition, it shortens some method calls. For example, is me.getIdAsStr()

displayed instead of me.idAsStr

. How do I go back to old behavior?

enter image description here enter image description here

+9


source to share


2 answers


This behavior is caused by the Advanced Java Folding plugin . Either disable the plugin or change its setting to not dump certain code elements.



+24


source


To disable displaying val

/ var

instead of variable type go to Settings | Editor | General | Collapse the code and uncheck the variable declaration



And just next to it Uncheck getters and setters to start showing getter method calls with full method name

+9


source







All Articles