chrisbarrett / scala-errors.el

Emacs package for navigating to errors in a Scala project with sbt-quickfix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scala-errors

Summary

Quickly navigate to errors in a Scala project using sbt-quickfix.

Usage

Compile your project with SBT and run M-x scala-errors-show-errors. Any errors found will be displayed in a compilation buffer. The following commands are available to navigate errors:

Command name Description
scala-errors-goto-first-error Move to the first SBT error
scala-errors-goto-next-error Move to the next SBT error
scala-errors-goto-prev-error Move to the previous SBT error.

Installing

You will need Emacs 24+, make and Cask to build the project.

  1. Install the sbt-quickfix plugin.

  2. Configure Emacs to use the MELPA package repository.

  3. Download this project. The makefile will install the package using the Emacs package manager.

    cd scala-errors
    make && make install
  4. Add the following to your Emacs config to improve integration with other Emacs packages.

    (add-hook 'scala-mode-hook #'scala-errors-init)
    (add-hook 'scala-mode-hook #'scala-errors-spacemacs-init)

Contributing

Yes, please do! See CONTRIBUTING for guidelines.

License

See COPYING. Copyright (c) 2016 Chris Barrett.

About

Emacs package for navigating to errors in a Scala project with sbt-quickfix

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 92.0%Language:Makefile 8.0%