Skip to content

Instantly share code, notes, and snippets.

@tsdeng
Last active June 26, 2018 16:43
Show Gist options
  • Save tsdeng/8451067 to your computer and use it in GitHub Desktop.
Save tsdeng/8451067 to your computer and use it in GitHub Desktop.
Configure Emacs for Scala

Basic Support

  1. Install ctags-exuberant
  2. Install gnu global
    • brew install global --with-exuberant-ctags
    • add following line in bash export GTAGSCONF=/usr/local/share/gtags/gtags.conf
    • edit gtags.conf, in the exuberant-ctags section, add following line :langmap=Scala:.scala:\
  3. generate global manually
    • gtags -v --gtagslabel ctags
  4. use ggtags emacs plugin

Fancy Ensime Support for sbt project

TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment