These are chat archives for ensime/ensime-sublime

27th
Jun 2017
Murphy Randle
@splodingsocks
Jun 27 2017 17:21
Hi, friends! I'm having a hard time getting Ensime running in sublime. I install the package from package control, open up the console, and immediately see errors from is_enabled and can_show. Then if I try to start up the server from the command palette, I get TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'. I've followed the installation instructions from the readme and I've put the SBT path in the user settings.
I'm running ST3, Dev Channel, build 3139
I'm trying to take a screenshot of the console right now
but having difficulty
Sublime Text_2017-06-27 11-22-55.png
Any thoughts?
Murphy Randle
@splodingsocks
Jun 27 2017 17:27
Okay, I restarted sublime and tried again, and now it appears that the server won't start because a different process is already running on the same port. I'm going to try a reboot
Rebooted, and now I'm back to this:
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 701, in is_enabled_
    ret = self.is_enabled()
  File "ensime in /Users/murphy/Library/Application Support/Sublime Text 3/Installed Packages/Ensime.sublime-package", line 1873, in is_enabled
  File "ensime in /Users/murphy/Library/Application Support/Sublime Text 3/Installed Packages/Ensime.sublime-package", line 2075, in can_show
AttributeError: 'NoneType' object has no attribute '_output'
Murphy Randle
@splodingsocks
Jun 27 2017 17:35
closed and reopened, and now it appears to be mostly working
Murphy Randle
@splodingsocks
Jun 27 2017 17:54
Should semantic highlighting work on the normal scala syntax setting?
I see "Set Syntax: Ensime Session" in the command palette, but I'm guessing that's for some kind of interactive SBT session or something, 'cause it turns my file all kinds of funky colors
Rory Graves
@rorygraves
Jun 27 2017 17:59
Semantic highlighting doesn't work on sublime unfortunately
@VC1995 is working on improving the sublime plugin right now.
Hopefully the startup will be quite a bit more stable once he has finished
Murphy Randle
@splodingsocks
Jun 27 2017 21:53
Oh okay! Thanks for the info :)
Too bad I'm not an emacs user ;)
Rory Graves
@rorygraves
Jun 27 2017 21:55
nps