Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7196945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:52:32+00:00 2026-05-28T20:52:32+00:00

I would like the Package Explorer view, if possible, just to show the order

  • 0

I would like the Package Explorer view, if possible, just to show the order in which things are defined in the source file.

I know that, in the Java–>Appearance–>Member Sort Order preferences, you can set what order categories of definitions appear (fields, methods, inner classes, etc.), but not the order within these categories. (Well, you can order by visibility within these but nothing else.) It appears to only do alphabetical order within this categorisation.

The Quick Outline view (Ctrl-O) does this as-in-the-source ordering, and I could also collapse all code blocks to get a similar outline in the editor, but I prefer using the Package Explorer for navigation.

For example, for a class implementing multiple interfaces, I group the methods by interface, and keep the method order as defined in the interface. Plus I separate off private utility methods, etc. As I’m sure most people do, I’d also default to ordering by visibility when there aren’t any well-defined ‘logical areas’ of the class, and would tend to have ‘sub-methods’ below their callers.

(It would be even better if it were possible to drag and drop definitions to reorder them in the file, although the collapsed editor view is pretty good for this.)

What, if anything, would get me closer to this view? (Or, if you like, are there any reasons why this desire is stupid?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:52:33+00:00Added an answer on May 28, 2026 at 8:52 pm

    It does seem like a strange omission to not be able to disable the alphabetic sorting. A little investigation turns up some bug reports that are marked as WONT-FIX (basically because the people who proposed them didn’t follow up):

    • https://bugs.eclipse.org/bugs/show_bug.cgi?id=32930
    • https://bugs.eclipse.org/bugs/show_bug.cgi?id=51611

    As a work-around, you can consider using the Members view, which does allow you to toggle alphabetic sorting. I actually use it all the time because it’s part of the Java Browsing perspective, which I much prefer over the Java perspective. Even if you don’t want to use Java Browsing, you can open the Members view in your perspective of choice. For example, open it and drag it to place below your Package Explorer view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

after I installed a package with pear, i would like to know what files
I would like to know What are the difference between folder-structure and package used
If an Eclipse project includes a .jar file, the package explorer treats it like
I would like to include a content file into the package that should refer
OK here's what I would like: in the Eclipse package explorer, I see the
I am building my first user control and I would like to package the
I would like to be able to write a Java class in one package
I would like to find a way to compile and package our iPhone application
I would like to know what packages are out there that can be used
Would like to know what a programmer should know to become a good at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.