These are chat archives for ensime/ensime-atom

28th
Jun 2016
Matthew de Detrich
@mdedetrich
Jun 28 2016 10:54
@hedefalk the issues I had with ensime-atom I am pretty sure were due to ato
and not ensime-atom or ensime-server, so I have just closed the ticket
Viktor Hedefalk
@hedefalk
Jun 28 2016 10:55
@mdedetrich Cool!
Matthew de Detrich
@mdedetrich
Jun 28 2016 10:55
They problem didn’t come up on a new machine, and when I completely reinstalled ensime-atom on a new machine the problem wasn’t there (which is how I figured it out)
Also is there an update on when refactoring support will happen, its the main feature from IntelliJ that I am sorely missing
Viktor Hedefalk
@hedefalk
Jun 28 2016 10:56
Ok, great! I don't remember the details of that ticket, but great if it seems to be working now!
Which refactorings do you want first? Rename?
Matthew de Detrich
@mdedetrich
Jun 28 2016 10:56
@hedefalk I got spurious errors when saving a file
but yeah its gone now!
Viktor Hedefalk
@hedefalk
Jun 28 2016 10:57
Should be really low fruit actually…
Matthew de Detrich
@mdedetrich
Jun 28 2016 10:57
@hedefalk Type safe refactoring initially. i.e. renaming some symbol and it does it correctly through the codebase
Viktor Hedefalk
@hedefalk
Jun 28 2016 10:58
Ok, rename. I'll put that on top then. I typically don't use it myself in my private Scala code bases, but should be really simple to implement.
Matthew de Detrich
@mdedetrich
Jun 28 2016 10:58
Thanks!
Also, another nice to have (but not critical) is formaters, but I am not sure if that is something that should be done by a specific atom plugin or ensime-server (i.e. scalafmt support)
Viktor Hedefalk
@hedefalk
Jun 28 2016 11:00
We have format in ensime-atom. It's using scalariform though (implemented in ensime-server)
Matthew de Detrich
@mdedetrich
Jun 28 2016 11:05
I will also make another issue about unused imports being reported as issues (I don’t think they should be classed as an issue)
Viktor Hedefalk
@hedefalk
Jun 28 2016 11:20
Those are default scalac options generated by ensime-sbt: https://github.com/ensime/ensime-sbt/blob/master/src/main/scala/EnsimePlugin.scala#L203
You can override
Matthew de Detrich
@mdedetrich
Jun 28 2016 11:32
Ah I see, does it make sense to use the scalac options from the projects build.sbt
rather than the default ones?
Viktor Hedefalk
@hedefalk
Jun 28 2016 11:34
ensime-atom should use .ensime. I'm no export in ensime-sbt, but I'm pretty sure you can override.
Matthew de Detrich
@mdedetrich
Jun 28 2016 11:34
Ill ask in ensime-sbt then, thanks!
Viktor Hedefalk
@hedefalk
Jun 28 2016 11:34
np :)
Couldn't find ensime-sbt channel on gitter so just asked a question of my own on ensime-server. Maybe you know the answer? :)
Matthew de Detrich
@mdedetrich
Jun 28 2016 12:47
Its just part of ensime server (I think)
question, is there a way to get the logs of ensime in atom? I am trying to start ensime in one project and its failing to open
Oh wow, found it
nvm
Matthew de Detrich
@mdedetrich
Jun 28 2016 13:26
@hedefalk Im heading off, but let me know when you end up implementing rename
Finally got Atom to provide most of the functionality that I have in Intellij
Viktor Hedefalk
@hedefalk
Jun 28 2016 13:27
@mdedetrich Sure thing! Great to hear!