These are chat archives for ensime/ensime-atom

28th
Jun 2015
Rory Graves
@rorygraves
Jun 28 2015 08:02
Big boy? I'm just another hacker ;) Yeah sbt-server is interesting - by using it as a compile server you can add back in the full 'rebuild-project' etc type things which would be very cool. Right now the internal AST is not serialalisable making it had to do all of the funky things and letting the the compiler do all of the heavy lifting. Scala.meta and TASTY mixed with sbt-remote could be very funky. I know that Scala-ide (eclipse) is integrating with the sbt-server so its on my list to go and have an explore ;)
Rory Graves
@rorygraves
Jun 28 2015 08:17
In terms of scala-js/atom - thats really cool. Does atom give you direct access to the ACE component (the actual text renderer). I had a brief play at that here https://github.com/rorygraves/play-with-scalajs-example (originally mapping using https://github.com/sjrd/scala-js-ts-importer) I was beating my head against the mappings in places, mostly due to my lack of js knowledge.
I got distracted by talk and sublime and everything else - it was something I planned to return to.
Viktor Hedefalk
@hedefalk
Jun 28 2015 08:41
Cool, thanks, I'll look at that! If Atom uses Ace I think it's very onion-wrapped. If I look at the API docs at http://ace.c9.io/#nav=api&api=editor there are similarities of course but it's def not the same. However, are you really sure Atom uses Ace? It seems hard to google, but I can't find any info on that more than in historical notes. Can it be that they at some point just embedded Ace, but later forked away their own editor code?
Rory Graves
@rorygraves
Jun 28 2015 08:47
I had it in my head that it was Atom used Ace as the text rendering component - looks like I could be talking complete nonsense.
Viktor Hedefalk
@hedefalk
Jun 28 2015 08:51
I don't think complete nonsense, there's a historical note here about Atomicity using Ace http://blog.atom.io/2015/06/25/atom-1-0.html.
Rory Graves
@rorygraves
Jun 28 2015 08:52
Phew - I thought I was going bonkers there.
I did look a long time ago
Viktor Hedefalk
@hedefalk
Jun 28 2015 08:52
I would guess it's no longer a clean dep at least, but it probably have foundations from Ace.
Rory Graves
@rorygraves
Jun 28 2015 08:53
Darn! I was hoping to be able to steal the rendering component from Atom to build the web-editor I talked about at ScalaDays
Viktor Hedefalk
@hedefalk
Jun 28 2015 08:54
Just write your own :)
Rory Graves
@rorygraves
Jun 28 2015 08:55
lol, yeah, in my copious spare time ;) - Currently I appear to mostly be doing python for a scala project - it feels very weird.
Viktor Hedefalk
@hedefalk
Jun 28 2015 08:56
:) Jokes aside, couldn't you just use Ace?
Rory Graves
@rorygraves
Jun 28 2015 08:58
Yeah I could - will see whats there when I get back to it.
Arnout Engelen
@raboof
Jun 28 2015 19:43
@hedefalk if you put that '.ctags' file in your homedir and run the 'ctags' command from your project root, it should generate a 'tags' file that symbols-view understands
that's OK for searching for symbols in external libraries (cmd-shift-r) but is pretty primitive beyond that