To make my code clean and tidy on eclipse, I wonder if it is feasible to code surrounded by Any tag to be able to retract as a function. I use eclipse "Juno" for android development.
To enable code folding, go to the Folding Preferences page, accessible from Window | Preferences | PHP | Editor | Using Code Folding . If Code Folding is enabled, minus signs will appear in the Annotation Bar next to code blocks which can be folded.
Code or text folding, or less commonly holophrasting, is a feature of some graphical user interfaces that allows the user to selectively hide ("fold") or display ("unfold") parts of a document. This allows the user to manage large amounts of text while viewing only those subsections that are currently of interest.
Expand or collapse code elements To collapse or expand all code fragments, press Ctrl+Shift+NumPad - / Ctrl+Shift+NumPad + . IntelliJ IDEA collapses or expands all fragments within the selection, or, if nothing is selected, all fragments in the current file, for example, all methods in a file.
Yes, you can use the plugin "Coffee Bytes Code Folding".
With Indigo or Juno, you might need to grab the latest version of that plugin at "this page" (or google "com.cb.eclipse.folding_1.0.7.jar
" for Juno-compatible version).
You will find all the illustrations in the SO question: "How to use Coffee-Bytes code folding":
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With