In Java, the usual convention is to have tab size 4. In Scala it’s 2.
In a Scala + Java project, is it possible to set these different tab sizes, depending on the language file?
In Java, the usual convention is to have tab size 4. In Scala it’s
Share
Find *.scala in the list and ensure Scala editor is selected as the first option.
if it is, then we just need to change the preferences for the scala editor.
Then:
The either select project specific settings or workspace specific settings, there should be an option where for how many spaces you want.