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
pythonker pythonker is currently offline pythonker pythonkerFriend
Messages: 4
Registered: November 2019
Junior Member
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
Ed Merks is currently offline Ed MerksFriend
Messages: 31469
Registered: July 2009
Senior Member
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...

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Installing WindowBuilder Editor - error in eclipse help
Next Topic:Eclipse installer Golang
Goto Forum:
  


Current Time: Sun Sep 20 18:06:57 GMT 2020

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

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

Back to the top