These are chat archives for ensime/ensime-atom

28th
Jan 2016
Andrew Gaydenko
@gaydenko
Jan 28 2016 11:14
Hi! Can somebody among atomic physicists to reproduce ensime/ensime-atom#116 ? For me it is strong stopper, so I wonder how you are living with it :smile:
Richard Dallaway
@d6y
Jan 28 2016 11:39
@gaydenko I’ve posted a bit of feedback on that ticket. But happy to chat here...
Andrew Gaydenko
@gaydenko
Jan 28 2016 12:00
@d6y , thanks! - I have switched there.
Richard Dallaway
@d6y
Jan 28 2016 12:05
OK! I’ll fire up an Ubuntu machine in a few minutes and see if I can reproduce the problem you see there.
Andrew Gaydenko
@gaydenko
Jan 28 2016 12:10
@d6y , ugh, very helpful, thanks!
Richard Dallaway
@d6y
Jan 28 2016 12:19
ah - looks like @hedefalk has figured it out.
Which is handy as my Limux Atom set up is giving me much pain (of the form: Error: spawn ENOTDIR)
Andrew Gaydenko
@gaydenko
Jan 28 2016 12:20
Yes, Ubuntu is free to sleep again :smile:
@d6y , node.js runtimes difference?
Richard Dallaway
@d6y
Jan 28 2016 12:24
yes - probably. I do recall there’s something weird about node on ubuntu
Viktor Hedefalk
@hedefalk
Jan 28 2016 12:33
@d6y Gah, that sounds bad. Can you error report with a stracktrace? Should be visible in chrome dev tools… Do you get it when starting server? That uses node's child_process.spawn(). Error sounds like "no directory"… Could be permissions maybe…? Or just bad code :)
Richard Dallaway
@d6y
Jan 28 2016 12:33
:-)
I’m figuring something on my path is wong. Point at a span from .atom/packages/Ensime/lib/ensime-startup.coffee
Viktor Hedefalk
@hedefalk
Jan 28 2016 12:37
Can you run /usr/bin/sbt/
?
Richard Dallaway
@d6y
Jan 28 2016 12:37
yes I can.
Viktor Hedefalk
@hedefalk
Jan 28 2016 12:37
Maybe you just need to remove the trailing slash? The setting you have for sbt executable is including a slash…?
Richard Dallaway
@d6y
Jan 28 2016 12:38
Ah - trailing slash! right
that will be it :eyes: thank you
yeah - starting. I am an idiot.
Viktor Hedefalk
@hedefalk
Jan 28 2016 12:39
Even if that's the issue, the error handling should definitely be improved :) So little time though…
We're all idiots.
Richard Dallaway
@d6y
Jan 28 2016 12:39
:-)
Richard Dallaway
@d6y
Jan 28 2016 12:47
@hedefalk when you’re hacking on Atom Ensime, do you check the “run server detached” to save a bit of time. You still have to ctrl-shift-p “ensime: start” i? Or are there other tricks?
Viktor Hedefalk
@hedefalk
Jan 28 2016 12:47
About low-hanging fruit. If someone needs any "ui-free" refactorings, that would be REALLY low fruit now. I'm thinking adding a extract variable without any ui feedback would probably be 20 mins of work for me… Is that something someone wants? I don't know if there's anything else that doesn't need ui… Ui is what takes time for me. UI and of course the whole startup issues. Adding features that the server supports already and doesn't need much UI is probably pretty cheap…
@d6y Yes, I use the detached thing. I still need "ensime:start" to start the client though. That command supports starting a server or not depending if there is a port file or not in the project.
Richard Dallaway
@d6y
Jan 28 2016 12:49
ok - understood.
d6y @d6y makes a note to add to the documentation on ensime.org :-)
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 28 2016 12:50
whats happening with the repeated docs btw?
is there some reason why we need a README?
Richard Dallaway
@d6y
Jan 28 2016 12:50
Friday: I have scheduled to spend a bit of time on the README.
Ghost
@ghost~540393fe163965c9bc2018ce
Jan 28 2016 12:50
can we not direct people to ensime.org from there?
Viktor Hedefalk
@hedefalk
Jan 28 2016 12:50
The fix I did the other day (yesterday?) probably made it so that server is always stopped if it was started from the current atom window. I think there are feature requests hidden here. You want the power to stop only client sometimes and both other times. Currently there is no way to stop server if it was started outside of Atom. Maybe there is a RPC call that does this?
Richard Dallaway
@d6y
Jan 28 2016 12:50
The README is sort of the advert for the plugin in Atom’s plugin search thing.
Viktor Hedefalk
@hedefalk
Jan 28 2016 12:51
@fommil Problem is this page: https://atom.io/packages/ensime
Richard Dallaway
@d6y
Jan 28 2016 12:51
…so there’ll need to be a bit of something there, but a lot can go I think
Viktor Hedefalk
@hedefalk
Jan 28 2016 12:51
That is also shown from within Atom itself when browsing for packages.
Yes, my bloated readme is probably really outdated so I don't mind throwing it away. It was mostly my own todo-list initally.
Richard Dallaway
@d6y
Jan 28 2016 12:54
(BTW, I can now reproduce @gaydenko ’s problem on Ubuntu. Not that I have typed in the right path to Atom on Ubuntu)
@hedefalk it’s going away tomorrow :-)
Viktor Hedefalk
@hedefalk
Jan 28 2016 12:56
I was just going to correct my spelling from shown to chown. I'm broken.