3

Does anyone know if the subj is expected or IDE is trying to warn me about something?

Eclipse screenshot

My Eclipse is Mars Release (4.5.0)
Scala IDE for Eclipse 4.3.0.v-2_11-201512011536-499c89a

Vlad.Bachurin
  • 1,340
  • 1
  • 14
  • 22
  • 4
    Scala favors immutable `val` over `var`. Vars are highlighted in red, just to make you aware that you are using mutable state. Nothing more than that. – Eduardo Feb 26 '16 at 19:32

1 Answers1

3

Search for Syntax Coloring inside of Preferences window in Eclipse.

Example for Java:

enter image description here

alex
  • 8,904
  • 6
  • 49
  • 75