Attaching sources in IntelliJ IDEA for scala project
intellij-idea, playframework-2.0, scala
Solution
Aha.. fixed.
So: I used to use 'attach source' in the top of the window editor - it does not work (I guess it is a bug - maybe related to the scala plugin, because usually it works).
But if try to attache sources to particular library - in "Project Structure -> Library -> +Attach File or Directories -> Sources" then it works.
Thanks.
Problem
I have Playframework 2 project with Scala (very small one). It uses Scala Anorm library. I have the code like this: ``` package models .. import anorm.SqlParser._ ... val rowParser = scalar[Long] ``` So, I would like to see source of scalar method. Trying to attache the sources I have in my plaframework source folder, but IDEA just swallows my request and does nothing back. I use last version of IDEA and Scala plugin. Is it bug, probably?