Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » 'Move to next field′ shortcut cannot move to private class in jar
'Move to next field′ shortcut cannot move to private class in jar [message #1817357] Thu, 21 November 2019 03:38 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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...
Previous Topic:Installing WindowBuilder Editor - error in eclipse help
Next Topic:Eclipse installer Golang
Goto Forum:
  


Current Time: Wed Feb 19 06:40:24 GMT 2025

Powered by FUDForum. Page generated in 0.09122 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top