This page is no longer maintained — Please continue to the home page at www.scala-lang.org

In IDEA, can't drill all the way down to Scala library files

2 replies
Kenneth McDonald
Joined: 2009-01-11,
User offline. Last seen 42 years 45 weeks ago.

I've added the scala lib .jar files to my project by hand (still working on having IDEA recognize these automatically, thanks for all the great tips), and find that in the Project browser I can, say, drill down to scala-library.jar/scala/collection/mutable--but when I click on the triangle at the left of "mutable", the triangle simply disappears, and idea doesn't show any source files in that dir. Any guesses as to what might be causing this?

Thanks,
Ken

Grant Olson
Joined: 2010-09-10,
User offline. Last seen 42 years 45 weeks ago.
Re: In IDEA, can't drill all the way down to Scala library file

On 9/10/10 4:02 PM, Kenneth McDonald wrote:
> I've added the scala lib .jar files to my project by hand (still working on having IDEA recognize these automatically, thanks for all the great tips), and find that in the Project browser I can, say, drill down to scala-library.jar/scala/collection/mutable--but when I click on the triangle at the left of "mutable", the triangle simply disappears, and idea doesn't show any source files in that dir. Any guesses as to what might be causing this?
>
> Thanks,
> Ken

Jar files are usually compiled binaries. They usually don't have any
source code embedded in them.

Aaron Novstrup
Joined: 2010-08-17,
User offline. Last seen 42 years 45 weeks ago.
Re: In IDEA, can't drill all the way down to Scala library file

If you use Maven, you can have IDEA download source/javadoc jars for you
(if they're available).

On 09/10/2010 01:14 PM, Grant Olson wrote:
> Jar files are usually compiled binaries. They usually don't have any
> source code embedded in them.
>

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland