Reputation: 9301
After upgrading to IntelliJ IDEA 2017.1 variables now do not show their types. Instead, it shows var
. Also, it abbreviates some method calls. For example instead me.getIdAsStr()
it shows me.idAsStr
. How to revert to the old behavior?
Upvotes: 12
Views: 4070
Reputation: 194
To disable showing val
/var
instead of variable type
go to Settings | Editor | General | Code Folding
and UnCheck Variable Declaration
And just next to it Uncheck Getters and setters to start showing getter Setter method calls with full method name
Upvotes: 13
Reputation: 401905
This behavior is caused by the Advanced Java Folding plug-in. Either disable the plug-in or change its setting to not fold certain code elements.
Upvotes: 31