Any way to group methods in Java/Eclipse?

前端 未结 6 2128
感动是毒
感动是毒 2021-02-12 15:11

I would like to be able to group similar methods and have them appear in my Outline view in Eclipse. This makes navigating large swaths of code a little easier on the eye, and e

6条回答
  •  囚心锁ツ
    2021-02-12 15:33

    I just ran across this and thought I should point out that while this doesn't exactly meet your original statement you can add a @category directive in the documentation block of each method then filter for just the method categories you would like to see. I have used this to only look at those groups of methods I am interested in at any one time.

提交回复
热议问题