Friday 5 August 2011

IntelliJ vs Scala [The Battle Rages On: A productivity tip]



Following a short discussion yesterday at work, about how Intellij keeps changing scala keywords to Java class name while you are typing. Forcing you to break flow, go back and correct it (swear) and then continue. I dug around the IntelliJ settings and found the following very useful setting. In Java it works wonders, in Scala it is just plain irksome.


Settings->Editor->Code Completion->Preselect the first option


When writing Scala, set it to 'Never'. The Scala keywords val and override will never be quite as annoying again ;)