These are chat archives for ensime/ensime-atom

23rd
Jan 2016
Eric Nelson
@enelson
Jan 23 2016 17:18
hi all. I noticed that Ensime is supposed to work with Java source as well. I’ve got a java project, built with SBT and I’ve run gen-ensime on the project. Now in Atom I’ve started the ensime server, and it seems fine, but I get no mouse-over info or auto-complete data like I do in my Scala project. Am I missing something?
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 17:19
M-x ensime-mode
it's not enabled by default
the support is very beta, if you encounter any problems we'd appreciate a failing test case in a PR to the ensime-server rather than tickets.
Eric Nelson
@enelson
Jan 23 2016 17:21
thank you @fommil. I’m using Atom, not Emacs. How would I run the ensime-mode command?
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 17:21
oh, I thought this was the emacs channel sorry!
Eric Nelson
@enelson
Jan 23 2016 17:21
ha ha, no worries.
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 17:21
I'm not sure if atom has the support yet. Use Emacs?? :smile:
it'd be quite easy to add the support... maybe you'd like to add it?
Eric Nelson
@enelson
Jan 23 2016 17:22
I have used emacs in the past. I rather like Atom, so was wondering if it’d work in there. It works great in Atom with Scala source, just not with Java.
I’m certainly willing to put in some work to help, just no idea where to start.
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 17:25
@hedefalk and @d6y are will help you with an explanation, first thing to do is to check out the code https://github.com/ensime/ensime-atom
Eric Nelson
@enelson
Jan 23 2016 17:26
awesome. thanks @fommil.
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 17:27
I'm not sure how atom or coffeescript works, sorry, but hopefully when you open up the code you'll see how its sending the messages to the server
we plan on documenting this sort of thing in http://ensime.github.io/contributing/ and http://ensime.github.io/editors/atom/
something you could immediately help out with would be ensime/ensime-atom#110
Eric Nelson
@enelson
Jan 23 2016 17:31
awesome. nice and easy place to start helping. :)
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 17:36
Eric Nelson
@enelson
Jan 23 2016 17:40
:+1:
Viktor Hedefalk
@hedefalk
Jan 23 2016 18:19
Don't use Emacs, it's very very old! Put in a PR in ensime-atom ;)
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 18:19
right! Where is that ban button...
Viktor Hedefalk
@hedefalk
Jan 23 2016 18:20
:smile:
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 18:20
I'm sure I bound it to some key combination... I just need to remember it
Viktor Hedefalk
@hedefalk
Jan 23 2016 18:20
meta-x a s d f g
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 18:21
argh, I have a DVORAK keyboard!
Viktor Hedefalk
@hedefalk
Jan 23 2016 18:22
ctrl-x ctrl-b meta-aoeu
Viktor Hedefalk
@hedefalk
Jan 23 2016 21:49

Published 0.32 which is the big rewrite. Not much in features but multiple .ensime projects running in the same window. And new refactoring api. And general overhaul of code. First few steps of pulling integration out in separate module. Probably still pretty crappy code here and there, but I'm getting there -> script kid.

Anyways, I'm trying to move general non atom-stuff out into an ensime-client node module which I can then use with the new kid vscode…

Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 21:51
nice! Any chance of moving your docs over to ensime.org ?
We're really keen to get everything in the one place
and do you want to use the CI build farm at fommil.com ? The machines are more powerful than travis
Viktor Hedefalk
@hedefalk
Jan 23 2016 21:54
Man, I would love to, but I'm really stoked with stuff right now. I don't know where to start with the docs. Any other takers? @d6y you gave up?
So I'll fork, edit atom.md and PR? There's the problem that atom package manager points to the git repo. I think @d6y was looking at that… Some way to have a "ln -s" README.md on the atom repo pointing to the docs or something maybe…
Oh, stoked was the absolute wrong word. I was looking for something between stuffed and choked…
Viktor Hedefalk
@hedefalk
Jan 23 2016 21:59
overwhelmed but shorter?
My english sux.
Oh, and CI - sure! However, I have like 10 unit tests though taking sub second on travis I think. Need to work on that…
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 23 2016 22:32
hehe, yeah stoked is a south african way of saying "very excited"
just moving the current README onto ensime.org would be enough for now, but yeah it sounds like you need to get that linkage thing fixed