a973da57ee
According to its website, the Ensime project has been shut down since 2019. We have been supporting both Ensime and Metals for [a year and a half](https://github.com/syl20bnr/spacemacs/pull/12234#issuecomment-524916394). Ensime's GitHub repositories, including its Emacs integration, are archived. Meanwhile, Metals has been developed actively, regularly releasing new versions. It has stabilized significantly, and supports an increasingly full set of features. Scala 3 is just around the corner, and the community is poised to make the transition smoothly and relatively quickly. Metals supports it already, whereas of course Ensime does not and never will. In fact, Scala 2 has had several import minor versions released since Ensime died. Now that it's 2021, it's time to cut the baggage we are carrying around for Ensime.
33 lines
1.1 KiB
EmacsLisp
33 lines
1.1 KiB
EmacsLisp
;;; config.el --- Scala Layer configuration File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
|
|
;;
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;;; License: GPLv3
|
|
|
|
(spacemacs|define-jump-handlers scala-mode)
|
|
|
|
(defvar scala-enable-gtags nil
|
|
"If non nil then gtags is enabled in the scala layer.")
|
|
|
|
(defvar scala-sbt-window-position nil
|
|
"Where to position the SBT window.
|
|
If `nil', just let `sbt-mode' figure it out. If `bottom', make a relatively
|
|
small window at the bottom of the frame.")
|
|
|
|
(defvar scala-auto-insert-asterisk-in-comments nil
|
|
"If non-nil automatically insert leading asterisk in multi-line comments.")
|
|
|
|
(defconst scala-backends '(scala-metals)
|
|
"Backend server implementation to enable advanced IDE language features")
|
|
|
|
(defvar scala-backend 'scala-metals
|
|
"Backend used to trigger IDE language features.
|
|
Only `scala-metals' is currently supported.")
|
|
|
|
(defvar scala-auto-treeview t
|
|
"If non-nil automatically show treeview when views are recieved by metals.")
|