(require 'scala-mode-auto)
(require 'ensime)
#+RESULTS:
(add-to-list 'auto-mode-alist '("\\.sc$" . scala-mode))
(add-to-list 'auto-mode-alist '("\\.scala$" . scala-mode))
(add-hook 'scala-mode-hook 'ensime-mode)
(require 'ensime)
#+RESULTS:
(add-to-list 'auto-mode-alist '("\\.sc$" . scala-mode))
(add-to-list 'auto-mode-alist '("\\.scala$" . scala-mode))
(add-hook 'scala-mode-hook 'ensime-mode)
* org babel mode scala
#+begin_src scala :exports both :results output
def helloworld() = {
println("Hello there")
println("한글로처리2")
}
helloworld()
#+end_src
: Hello there
: 한글로처리2
#+begin_src scala :exports both :results output
def helloworld() = {
println("Hello there")
println("한글로처리2")
}
helloworld()
#+end_src
: Hello there
: 한글로처리2