The standard Scala distribution includes an Emacs mode. By default it does not expand tabs into spaces, so you might want to add the following code to your .emacs file:
(defun me-turn-off-indent-tabs-mode () (setq indent-tabs-mode nil)) (add-hook 'scala-mode-hook 'me-turn-off-indent-tabs-mode)