Goto Class Ctrl+N

When the class appears in the multiple locations(directories or jars) in the classpath the file is displayed multiple times, but it is unknown what the source of the file is. The same true when project has multiple modules.

Suggestion:
1. Display file ones and then optionally prompt to specify the exact file location, similar to the Refactor->Copy
2.Show file path next to the packages in the popup dialog, might be too long though

2 comments
Comment actions Permalink

Vladimir Goncharov wrote:

When the class appears in the multiple locations(directories or jars) in the classpath the file is displayed multiple times, but it is unknown what the source of the file is. The same true when project has multiple modules.

Suggestion:
1. Display file ones and then optionally prompt to specify the exact file location, similar to the Refactor->Copy
2.Show file path next to the packages in the popup dialog, might be too long though

I like your first suggestion very much! A tracker request?

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Very nice.

Along with this, I have the problem of files being in the same location,
but the path puts the definitive part of the path off the screen to the
right. I have already put in a request for the path information to be
module specific instead of the full path.

Norris Shelton
Sun Certified Java Programmer




Maxim Shafirov (JetBrains) wrote:

Vladimir Goncharov wrote:

>
>> When the class appears in the multiple locations(directories or jars)
>> in the classpath the file is displayed multiple times, but it is
>> unknown what the source of the file is. The same true when project
>> has multiple modules.
>>
>> Suggestion: 1. Display file ones and then optionally prompt to
>> specify the exact file location, similar to the Refactor->Copy
>> 2.Show file path next to the packages in the popup dialog, might be
>> too long though
>

I like your first suggestion very much! A tracker request?

>

0

Please sign in to leave a comment.