These are chat archives for ensime/ensime-atom

16th
Feb 2016
Viktor Hedefalk
@hedefalk
Feb 16 2016 06:13
@mdedetrich @fommil What I did was that I removed all calls from ensime-atom to ensime-server where the file contents were sent over the wire. This seems to have improved false positives in general. I'm basically stating that over-the-wire-file-contents is pretty much broken in ensime-server since it makes the indexer become mad. @fommil said something that there might be some underlying differences with in-mem files and physical files. To me this has completely removed false positives on imports for the projects I'm currently working on. You might need to do rm -r .ensime_cache before anything changes and you might still have false positives too, but I think that currently ensime-atom is on par with ensime-emacs in how it interacts with ensime-server.
Viktor Hedefalk
@hedefalk
Feb 16 2016 06:36

@mdedetrich "If doable, it might not be a bad idea to integrate ensime-atom with Scala.js, you might also get a lot of code reuse that way"

This is something I have considered from the start, but currently don't feel would add much other than a lot of setup work. There's really not much advanced domain logic in the client anyways apart from the UI stuff which has felt reasonable to do in the language that the Atom community uses. I'm not saying "no way", but currently this is long down on my list. Mostly because it might slow us down to setup a project that build scala.js (with sbt) from a node build. But anyone is free to experiment and PR's are always welcome! :)

Matthew de Detrich
@mdedetrich
Feb 16 2016 12:16
@hedefalk I am still getting red on imports, is this a new release?
I am on 0.35.3
Ghost
@ghost~540393fe163965c9bc2018ce
Feb 16 2016 13:12
If only we knew a coffeescript expert cough @lihaoyi ...
Viktor Hedefalk
@hedefalk
Feb 16 2016 14:22
@mdedetrich 0.35.3 is the latest. And assume you tried rm -r .ensime_cache too?
@mdedetrich If you can make a repro case and put up on github, that'd be great. Otherwise, there's really no use reporting false positives at this point.
Matthew de Detrich
@mdedetrich
Feb 16 2016 23:19
@hedefalk Yes I did rm -r .ensime-cache, I will see if I can find another case of it not working so I can out it up on github
Matthew de Detrich
@mdedetrich
Feb 16 2016 23:43
@fommil I actually write a huge amount of Coffeescript at work as well, about to change jobs though
Matthew de Detrich
@mdedetrich
Feb 16 2016 23:56
I mean Scala.js could be worth it, and it would be a great use case in terms of advertising for Scala.js