These are chat archives for ensime/ensime-atom

4th
Nov 2015
prassee
@prassee
Nov 04 2015 04:51
@d6y that works
Viktor Hedefalk
@hedefalk
Nov 04 2015 08:47

@prassee @d6y The rationale behind this is that I don't want to fork language-scala which is a separate project for ctags-based syntax highlighting. There's continuous work there so to merge that in all the time isn't a good idea. However, maybe it would be nice with a one-stop atom scala plugin (being ensime-atom). Before there wasn't a good way to depend on other packages, but there is a pretty straight forward solution now that we can use. I use it already for to depend on hyperclick which provides the code link functionality.

Poll: Should ensime-atom automatically install language-scala?

Next thing is of course semantic highlighting which ensime-server can provide but it isn't really possible to leverage that in Atom yet: https://discuss.atom.io/t/marker-decorations-that-add-style-classes-to-the-actual-text-nodes/20254/7 Many others want this though so it might come in the future. To me it's not a big prio, but would be cool.

Richard Dallaway
@d6y
Nov 04 2015 08:54
I suspect anyone installing ensime-atom will install language-scala, so if there’s a way to make that happen automatically, it seems like a good idea.
Viktor Hedefalk
@hedefalk
Nov 04 2015 08:57
Ok, 2-0 for automatic installation (me and @d6y ). Doin' it.
Richard Dallaway
@d6y
Nov 04 2015 08:57
:-)
Knut Petter Meen
@kpmeen
Nov 04 2015 09:04
:+1:
Viktor Hedefalk
@hedefalk
Nov 04 2015 09:21
sorry @rorygraves and @fommil , I'm gonna call it "organiZeImports" in atom.
Rory Graves
@rorygraves
Nov 04 2015 09:43
What!!!!!!
I almost spat out my tea!!!
Viktor Hedefalk
@hedefalk
Nov 04 2015 10:03
:)
prassee
@prassee
Nov 04 2015 11:35
(y)
:thumbsup:
Ghost
@ghost~540393fe163965c9bc2018ce
Nov 04 2015 11:39
That's fighting talk
Clearly using Simplified English as the primary i18n
Arnout Engelen
@raboof
Nov 04 2015 11:47
and 'mentionZeImplicits'?
prassee
@prassee
Nov 04 2015 11:55
@hedefalk so the next version of ensime-atom would have langauge-scala included?
Viktor Hedefalk
@hedefalk
Nov 04 2015 12:06
@prassee Yeah.
prassee
@prassee
Nov 04 2015 12:06
thats great
Viktor Hedefalk
@hedefalk
Nov 04 2015 12:06
But don't wait for it. Just type "apm install language-scala"
prassee
@prassee
Nov 04 2015 12:06
Iam using it already
Viktor Hedefalk
@hedefalk
Nov 04 2015 12:06
:+1:
Viktor Hedefalk
@hedefalk
Nov 04 2015 12:46
@prassee To clarify: it won't be "included inside" ensime-atom but rather doing package install of ensime-atom will also install scala-lang package.
Viktor Hedefalk
@hedefalk
Nov 04 2015 16:49
Published version 0.30 with organize imports and beginning of "import suggestions" -> no ui, it just inserts the first suggestion from server. Will work on a dropdown selection next.
I'm thinking a context-bound quick-fix menu like the IDE:s have.
But maybe first just a thing for each particular action. And only if it makes sense a quick fix action. Now it's just an action "import suggestion" that asks server and adds the first one.
When I have made a ui for this I can probably re-visit the implicit infos and add hyperlinks there as suggested.