These are chat archives for ensime/ensime-atom

7th
Sep 2016
Viktor Hedefalk
@hedefalk
Sep 07 2016 12:04
Yes, that's it :) Sorry, I'm on parental "leave" and just forgot. I have no idea what's in it, but I'll try to come around…
Murphy Randle
@splodingsocks
Sep 07 2016 20:41
Hey, friends! I just added ensime to my project, and I’m getting type checking and autocomplete, but it doesn’t appear to be finding the third-part modules that I’ve installed with sbt. Any advice?
I’ve made sure that my sbt path is set correctly in the plugin settings
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 20:58
check the .ensime file to make sure they are there
and give it a minute to index
Murphy Randle
@splodingsocks
Sep 07 2016 21:01
Thanks, @fommil. Looking through that now
the library I am trying to use is libraryDependencies += "com.github.japgolly.scalajs-react" %%% "core" % “0.11.1"
but it doesn’t appear in the .ensime file, should it?
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 21:01
yeah it should
ah this is scalajs. that does work for me, but I can imagine there would be some weirdness
Murphy Randle
@splodingsocks
Sep 07 2016 21:02
Hmm, could it be because this is a Scala.js project?
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 21:02
for an example of a scala.js project that works have a look at https://github.com/fommil/kerbal-calculator
Murphy Randle
@splodingsocks
Sep 07 2016 21:02
jynx ;)
So you don’t commit your .ensime file?
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 21:03
definitely not
it has local paths in it
Murphy Randle
@splodingsocks
Sep 07 2016 21:03
(also, I’m a total scala & SBT newb)
so if it sounds like I don’t know anything about sbt, it’s because that’s true
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 21:04
well if you're looking for a project to hack on, you could add a third tab to this little app to calculate the orbital transfer windows
it's not rocket science
oh, wait... it might be
Murphy Randle
@splodingsocks
Sep 07 2016 21:04
So you had to do funky stuff in your sbt to get ensime to work with scalajs?
haha, nice ;)
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 21:04
not really, it works fine
but setting up sbt for scalajs projects can be strange sometimes
Murphy Randle
@splodingsocks
Sep 07 2016 21:05
Oh okay,
compiling and running works totally fine
and IntelliJ works very well
just ensime won’t find external libs
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 21:05
can you share your project structure?
Murphy Randle
@splodingsocks
Sep 07 2016 21:06
OOooooooooooooooooooooooooooooh
I have to re-run sbt ensimeConfig any time I add a dependency
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 21:06
yup
emacs has a setting to do that automatically
but these inferior text editors like Atom are very clunky ;-)
Murphy Randle
@splodingsocks
Sep 07 2016 21:07
too bad I’m inferior
I am stuck with vim keybindings forever
I tried spacemacs for a bit
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 21:07
M-x evil-mode
Murphy Randle
@splodingsocks
Sep 07 2016 21:07
but I saw thousands of hours of customization flash before my eyes
and I barely escaped with my life
do you use emacs / evil mode @fommil ?
Also, thanks for helping me solve my problem :)
Ghost
@ghost~540393fe163965c9bc2018ce
Sep 07 2016 21:08
nope, I prefer holy mode
np
I was just the rubber duck
Murphy Randle
@splodingsocks
Sep 07 2016 21:09
🍰
there’s some cake for the duck
I guess there’s not a duck emoji
so we’ll have to use our imaginations