I've got Scala's semantic analysis more tightly integrated into NetBeans' Schliemann module. The first benefit is In-Place Refactoring (Instant Rename).
On the following screenshots, first, you put caret on a variable name ("scope", for example), the occurrences of this variable will be hi-lighted. Then, press key Ctrl+R, the highlighting color will be changed with meaning of ready for rename.
Just type or modify the name to new one, then press Enter. The occurrences of "scope" will be changed to new name, for example: "scope1".
And, YES, the Erlang for NetBeans will also get this benefit.
Read: Scala for NetBeans Screenshot#5: In-Place Refactoring