'Move to next field′ shortcut cannot move to private class in jar [message #1817357] |
Thu, 21 November 2019 03:38  |
Eclipse User |
|
|
|
I open java.util.zip.ZipOutputStream.class in eclipse, and use Ctrl+Shift+Up/Down to jump to the previous/next field (method, member...), however, unanble to jump to this private class.
private static class XEntry {
final ZipEntry entry;
final long offset;
public XEntry(ZipEntry entry, long offset) {
this.entry = entry;
this.offset = offset;
}
}
I try to copy the code into a new java file, use the same shortcut, however, with a successful jumping.
So, I think this is abug of eclipse?
|
|
|
Re: 'Move to next field′ shortcut cannot move to private class in jar [message #1817871 is a reply to message #1817357] |
Mon, 02 December 2019 04:48  |
Eclipse User |
|
|
|
Well, when you are dealing with purely .class files, nested classes will open in a different editor, i.e., each nested class is actually a different .class file. It's kind of confusing when you're used to more helpful behavior that you'd get in a *.java file; the nested classes are kind of invisible when you've opened the containing .class file...
|
|
|
Powered by
FUDForum. Page generated in 0.09122 seconds