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

  • SEARCH
  • Home
  • 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 6900231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:31:12+00:00 2026-05-27T07:31:12+00:00

I have done quite some xCode programming and found the overview perspective of the

  • 0

I have done quite some xCode programming and found the overview perspective of the methods in a class really helpful. It looks like this:

MY_GROUP_1 <- defined with #pragma mark MY_GROUP_1
M method11
M method12
M....
MY_GROUP_2
M method21
M method22
M....

In Eclipse I only found the outline view, which does not have a grouping with a headline. So I started to define methods just to abuse them as group names like this

 /**
     * 
     * @category MessageSequence
     */
    public void __GROUP_1__() {

    }

At least I have now a list in the outline view that looks like this:

    __GROUP_1__
    method11
    method12
    method..
   __GROUP_2__
    method21
    method22
    method..

While its better than nothing, I doubt that this is the best way to get an overview of ones class structure with its methods.

What would be the right way to do this?

Many thanks!

ps also I don’t know why the groupd headline methods have to be public. Eclipse does not show private methods in the overview view.

EDIT: based on the answer given by “The Nail” I update it here so that everyone can see how it works and does not have to waste time trying around…

  1. Follow the install instructions http://kosiara87.blogspot.com/2011/12/how-to-install-coffee-bytes-plugin-in.html – link found by
  2. set the identifiers in settings->java->editor->folding-> user defined regions (tab on the right) to start identifier: region, endidentifier: endregion

Now you can do:

 //region Y
    public void y1() {
    }

    public void y2() {
    }

    //endregion Y

Without the settings folding did not work for me..
Oh, yes and don’t forget to restart Eclipse if it doesn’t work immediately!

  • 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-27T07:31:13+00:00Added an answer on May 27, 2026 at 7:31 am

    In fact, this is a duplicate of Any way to group methods in Java/Eclipse?.

    The Coffee Bytes plugin is mentioned is no longer available at the referred locations. But, it seems that Bartosz Kosarzycki has posted an updated version yesterday:

    http://kosiara87.blogspot.com/2011/12/how-to-install-coffee-bytes-plugin-in.html

    Note that this does not provide grouping for the outline view, just (customized) folding in the editor.

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

Sidebar

Related Questions

Title is quite self explanatory, but I have some animation being done in a
I've done quite a bit of programming on Windows but now I have to
I have done some research on this subject, and found out, that Gzipping and
I have done some programming and I have used Mercurial for source control. I
I have done quite some cocoa-touch stuff, but am still new to cocoa. I
I am a quite new to node js and have done some homework in
I have some code that looks like this (I left out the parts that
I've done quite a bit of googling on this error but have had no
I have done Java and JSP programming in the past, but I am new
I have done some searches looking for information about how to do logging with

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.