Libraries in 818+ (828, in fact)


I thought I understood how these libraries in 818+ are meant to work - however I am seeing some odd behaviour that is suggesting I dont.

I have added a number of Libries via "Add Named Library" - and configured jar/src/doc for each one.

I can compile and run OK - no problem.

However, the problem I have is that IntelliJ just doesnt seem to want to open classes from the SourcePath.

If I goto a class that is in my libraries, I get the stupid .class file rather than the source file - even though I can open that same source file via Browsing the SourcePath.

It essentially means that I cannot browse/debug into library source - which is really annoying.

Anyone have any clues as to what I might have done wrong - or is this a buggette?

Cheers,
Nick

4 comments
Comment actions Permalink

BTW: What was wrong with the previous Library Implementation - I actually thought that was elegantly simple and intuitive...

0
Comment actions Permalink

+BTW: What was wrong with the previous Library Implementation - I actually thought that was elegantly simple and intuitive... +

Agreed.

0
Comment actions Permalink

What's the difference between the current and the previous integration?
You go to the ORDER tab, add a global or project library and that's it
(once they are defined). Defining one is not much more: you add a new
one and then attach classes, sources and javadoc. I never worked much
with the previous integration but it seems to me that there's not so
much difference.

Michael

Rayz wrote:

+BTW: What was wrong with the previous Library Implementation - I actually thought that was elegantly simple and intuitive... +

Agreed.


0
Comment actions Permalink

I'm seeing something similar to this. If I do Ctrl-N to navigate to a class, I get the .java file. But if I do a usages search in my libraries, the double clicking on the search results brings up the .class files.

I know the source files are visible to Idea. Right after opening the .class file from the search results, I can Ctrl-N to the .java file for the same class.

I was waiting for a build or two before I reported it.

0

Please sign in to leave a comment.