These are chat archives for ensime/ensime-atom

4th
Mar 2016
Thanks @steelbrain.
Richard Dallaway
@d6y
Mar 04 2016 09:33
niiiice
Rory Graves
@rorygraves
Mar 04 2016 09:38
Very.
Rory Graves
@rorygraves
Mar 04 2016 21:29
Nobody tell @fommil , it will just upset him that emacs does not have that.
Viktor Hedefalk
@hedefalk
Mar 04 2016 21:50
I think they do? Didn't he even show it in the video?
Rory Graves
@rorygraves
Mar 04 2016 21:52
lol, maybe they do - I thought the idea of quick fixes was on the roadmap rather than already existing.
Viktor Hedefalk
@hedefalk
Mar 04 2016 21:52
Yeah, ok, I think they have import suggestions as a separate command. I removed that from Atom now.
I think that I want that too maybe. But now "intentions" turned up as a thing, like some standard to gather around so I want to hook us in as a provider. But I'm thinking you could have a hierarchy of different things you would want to do. And sometimes, if you know it's import you want to do, you should be able to just ask for that and not get a full list of different suggestions.
But I'm really happy when there's some standard component in Atom that just takes on the UI/UX part of things and we can just hook in as a provider.
Working a bit on vscode right now. Think I need to rewrite ensime-node in typescript…
Rory Graves
@rorygraves
Mar 04 2016 21:56
yeah, that is awesome
the ux thing, less excitable about the typescript part ;)
Viktor Hedefalk
@hedefalk
Mar 04 2016 22:01

Learning typescript right now. I thought it sucked because there's always function and return in all the samples, but turns out you can just do reasonable stuff like:
let x = x => y => z => x * y * z which compiles to:
var x = function (x) { return function (y) { return function (z) { return x * y * z; }; }; };

Look mah, no return statements, function boilerplate or semicolons!

So I think I'm game for a rewrite with types. I suck at dynamic languages. The "quick fixes" you mentioned in the talk has mostly been correcting my spelling mistakes :)

Rory Graves
@rorygraves
Mar 04 2016 22:02
Shhh! Don't tell them that!