score:29
Eclipse outline view supports categories (with @category in javadoc) for showing additional information on methods. See the following screenshots for an example of such usage.
Unfortunately grouping by categories has not been implemented yet. There is an open feature request for this, but it is nearly four years old and clearly stated that it needs community effort. Personally I do not know such plugin.
score:0
Following up on @ntle, (for PHP anyway), you can also use define() to create a pseudo pragma mark, or function(). See screenshot:
For more discussion & examples on this, see my blog post: https://peacocksoftware.com/blog/create-pragma-separator-eclipse-xcode
score:4
You can use "Add Bookmark".
One way to do that is to right-click on the left side (where line numbers are shown), and select "Add Bookmark...".
You can view them in "Bookmarks" view.
score:4
In order to mimic the #pragma mark
functionality I usually create a dummy method that works as a separator. For example:
private static void someDummyMethod(){}
score:9
The horror:
@SuppressWarnings("unused")
private int _______________________________________;
Or if you prefer labels:
@SuppressWarnings("unused")
private int _______________Lifecycle_______________;
Bonus points for varying the number of underscores so you can have many separator lines.
My Android Studio Version
Use code regions:
//region
... your code here ...
//endregion
Bonus points for making the folded presentation look like a comment:
//
//region // Lifecycle
... your code here ...
//endregion
//
Source: stackoverflow.com
Related Query
- Adding a separator to the Eclipse Outline view (like #pragma mark)
- How can I view the outline in eclipse when using the revealing module pattern?
- Is there an eclipse plugin that creates an outline view for the "javascript revealing module pattern"?
- How to filter the Eclipse Outline View to show only Functions
- How to do a full-fledged search in the Outline view in Eclipse (CDT)
- Enabling the JSDT Outline view in Eclipse Neon
- Android Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view
- What does the blue flash icon in the Outline view in Eclipse mean?
- Comment out methods using the Outline view in Eclipse
- How to get rid of the outline view when developing a new perspective for an eclipse plugin?
- Eclipse PyDev the outline view has a filter text box only and I can't get the outline back
- How to filter away all the methods except an exact string in the Eclipse outline view
- is it possible to "go back" in java eclipse debugger like dragging the arrow in VS
- How do I stop the error log view showing in eclipse
- Adding existing project folders to the project explorer in eclipse
- How do I view different representations of integers in the Eclipse watch window?
- What's the equivalent of Alt-left/right arrow key like Eclipse in IntelilJ?
- How do I prevent Eclipse from adding the 'final' keyword to a member variable declaration?
- How to disable the automatic asterisk (inserting stars) in Eclipse when adding a multi-line comment?
- When using Eclipse with FindBugs can you mark a bug as not a bug and have it removed from the bug list?
- does netbeans have something like Eclipse Debug display view
- Eclipse Outline View is empty
- How do I remove view right to the editor in Eclipse pydev perspective?
- How to view the contents of jar file in eclipse or jar-file-explorer
- Android - How can I view a sql database created in my app? I'm running it on the Android emulator in Eclipse
- Wildfly in Eclipse is adding the Maven SNAPSHOT to the web context
- Eclipse - supporting outline view with require.js define(...)
- How can I view the history of a single branch in EGit for eclipse
- change the content of debug view in eclipse
- Adding a filter to the Project Explorer in Eclipse
More Query from same tag
- How to get E4 Orion CSS Preference editor installed on Eclipse?
- GridLayout in ScrolledForm not showing scrollBar
- Intent Settings.ACTION_DEVICE_INFO_SETTINGS is not working on 4.1.2 and 4.2 Android
- STS.ini can't set heap more than 1024m (Eclipse configuration)
- How to join 2 APKs into 1 APK?
- Java Not Writing to Console
- Why is my AccBal integer getting set back to '0' value
- I am not able to add Tomcat Server again
- Button click on Seesaw (Clojure) not getting new variable values
- Having trouble on importing jpg image (Java)
- in play framework, the file xx.java could not be compiled. error raised is : the import yyy cannot be resolved in eclipse
- Creating JSPs with Eclipse
- Terminating Flask's Internal Server in Eclipse ( Aptana Pydev)
- Eclipse CDT: Mapping console output to source file and line
- Can we check if the web project is working without deployment in Eclipse?
- Eclipse -The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
- Connecting two java project
- Create log instance when creating a new class in eclipse
- How to Create AVD on version 4.0 APi 14 in Eclipse
- How can I solve this Mockito MissingMethodInvocationException using when()...?
- how to run sql file automatically? I have these files
- @EJB not working in Servlet in external project WFLYEJB0406
- OpenGL ES 2.0: glGetAttribLocation returns -1. Shader optimization?
- "Ctrl+Shift+Right/Left" doesn't select a word in Eclipse as it ought to do
- EGit - pull= failled and no conflicts
- Non-terminating Java program 2
- How to create an applet in Java, in the latest version of Eclipse IDE?
- How to create svg file in Eclipse
- Simple REST Jersey example in Java not working
- Drools HelloWorld Example Fresh Install Throws Null Pointer