Impossible to set Java and Scala tab size independently
In Preferences>Scala>Formatter, there is the ability to set whether the formatter indents with spaces rather than tabs, and how many spaces it should use. This only affects the formatter, however, not what happens when you hit the tab key. This is controlled by Prefences>Java>Editor>Typing.
Not only is this confusing, but it also means that there's no way to have different settings for Scala and Java, which is a big problem for people like me who want to use 2 spaces for Scala code, but have a large body of existing Java code that uses 4 spaces.
Not only is this confusing, but it also means that there's no way to have different settings for Scala and Java, which is a big problem for people like me who want to use 2 spaces for Scala code, but have a large body of existing Java code that uses 4 spaces.
Leave a comment
on 2014-02-04 04:28 *
By Iulian Dragos
Eclipse version changed from Helios to Kepler - Eclipse 4.3
Version changed from 2.0.0-final-29 to 3.0.2-210
Milestone set to Lithium