4 ms·
Just trying the Scala plugin now. I really want to leave Eclipse. I wonder if it will show me implicit conversions and parameters, and if will handle hairy stuf
by rnikander 13y ago
Just trying the Scala plugin now. I really want to leave Eclipse. I wonder if it will show me implicit conversions and parameters, and if will handle hairy stuff like macros. And does it use the presentation compiler like ScalaIDE/Eclipse? If not I'll be surprised if can handle macros. So far, so good though. Need to import a bigger project as a test...
- sluukkonen 13y agoIt does highlight implicit conversions by default (they're underlined and have a light blue background colour). I don't think it does anything special w.r.t. macros, but I might be wrong. As far as I know, they use their own compiler for highlighting type errors in the editor etc. and SBT for the "actual" compilation. The presentation compiler didn't exist when they started Scala support, so they rolled their own solution.
- rnikander 13y agoMy tests so far are encouraging. I'd like to know their intent with Scala. That plugin seemed to go nowhere for years, and ScalaIDE/Eclipse looked like it would be the only option. But ScalaIDE is still pretty buggy. If they are committed to making Scala support as good as their Java stuff, that would be awesome.
- kclay 13y agoI only tried macros with Play! and for the most part it handled the Json.as[T] macros but after a while It would produce a deadlock and start dumping the stack. I got around it by providing some type hints so it wasn't a big of an issue. Hopefully the fixed that.