Giter VIP home page Giter VIP logo

sbt.el's Introduction

sbt.el

Getting started

There are two main ways to get started with sbt.el. Either through el-get or manually

el-get

Add to your emacs init.el/initialization or el-get configuration.

(add-to-list 'el-get-sources
  (:name sbt
   :website "https://github.com/rubbish/sbt.el"
   :description "support for running sbt in inferior mode."
   :type github
   :pkgname "rubbish/sbt.el"
   :post-init (add-hook 'scala-mode-hook 'turn-on-sbt-mode)))

Manually

  1. Clone somewhere onto your emacs load-path.
  2. Add to your emacs init.el or initialization.
(autoload 'turn-on-sbt-mode "sbt" "" t)
(add-hook 'scala-mode-hook 'turn-on-sbt-mode)

Keybindings

  • C-c s s -- starts an interactive sbt repl
  • C-c s c -- sends compile to the sbt repl
  • C-c s t -- sends test to the sbt repl
  • C-c s o -- if in a test file, sends test-only com.test.SomeTest to the sbt repl

License

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

sbt.el's People

Contributors

dchenbecker avatar jwinder avatar lamdor avatar league avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.