|
Re: Make F3 open Java source from a different project [message #175596 is a reply to message #175463] |
Thu, 19 October 2006 16:45 |
Eclipse User |
|
|
|
Originally posted by: eclipse4.rizzoweb.com
Steinar Bang wrote:
> Platform: Intel Pentium M,
> Ubuntu Dapper Drake,
> eclipse 3.2
>
> If I have a Java source file in the Java Editor, and then position the
> cursor to see the definition of a class that resides in a different
> Java project in the same workspace, is it possible to configure
> Eclipse to display the source file, instead of the class file?
It sounds like your one project includes a JAR of the code from the
other project (that is why F3 is showing you the .class file). What you
want to do is make the one project depend on the other project directly,
not on a JAR. In the Project Properties, Build Path section you can edit
the Projects tab to include the other project. Also make sure to remove
the JAR from the Libraries tab.
Hope this helps,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.07572 seconds