hvesalai / emacs-sbt-mode

An emacs mode for interacting with scala sbt and projects
GNU General Public License v3.0
126 stars 38 forks source link

SBT 1.3.0 not supported; is this project dead? #152

Closed markschaake closed 2 years ago

markschaake commented 5 years ago

I know that ensime is no longer maintained and that the metals is now the recommended replacement. However, the metals documentation for emacs has an example emacs config that adds sbt-mode:

(use-package sbt-mode
  :commands sbt-start sbt-command
  :config
  ;; WORKAROUND: https://github.com/ensime/emacs-sbt-mode/issues/31
  ;; allows using SPACE when in the minibuffer
  (substitute-key-definition
   'minibuffer-complete-word
   'self-insert-command
   minibuffer-local-completion-map))

Prior to SBT 1.3.0, I have been successfully using metals + sbt-mode and have felt it has been a decent replacement for my previous ensime experience (which was great). However, SBT 1.3.0's new console output has broken some of sbt-mode, notably tab completion. Even if you turn off the "super shell" tab completion still does not work.

I'm wondering:

I might be interested in trying to maintain a fork, but I am not much of an elisper.

bjarkevad commented 5 years ago

Tab completion seems to work in Spacemacs with super shell disabled (I added -Dsbt.supershell=false to sbt:program-options).

markschaake commented 5 years ago

@bjarkevad that works for me too (not a spacemacs user). I just customized the sbt:program-options using customize. Thanks for the tip!

rossabaker commented 5 years ago

I can't imagine wanting supershell in sbt-mode. I think we should add that to the defaults.

hvesalai commented 5 years ago

Yes, I made all the tab-completion changes to SBT 1.3.0 my self way back, so my intention was that 1.3.0 is supported by sbt-mode. However, since I'm still my self stuck in an older SBT, I haven't yet had the time to actually test it.

If any of you have time to change sbt-mode so that it better supprot 1.3.0, a PR is always welcomed.

And as for the question whether this project is dead, the answer is no. As the original author, I'm still using it my self daily.

hvesalai commented 2 years ago

I'm closing this as I have no problems with latest SBT