Atitit.ide code block Folding plugin Eclipse

Source: Internet
Author: User

Atitit.ide code block Folding plugin Eclipse

1. User Defined regions #region ... #endregion plugin com.cb.eclipse.folding 1

2. If else for folding plug-in 1

3. turn on the set code folding function in eclipse ctrl+shift+numpad_divede ( keypad / number ) 2

4.2

1. User Defined regions #region ... #endregion plugin com.cb.eclipse.folding

Friends who have used Visual Studio know #region ... #endregion can surround a piece of code to make it available in the IDE This feature can improve the readability of code in a code block that is collapsed or expanded.

But  ECLIPSE  ECLIPSE  Blocks of code that can be collapsed or expanded are only code blocks that are defined by the development language itself, such as   JAVA  /* ...  * /&NBSP, ECLIPSE  There is nothing to do.

And this plug-in com.cb.eclipse.folding [ download ] for those who used to put the code in a neat friend solved the problem. the section between //[start] and //[end]

Author :: Old Wow's paw attilax ayron, email:[email protected]

Reprint please indicate source: Http://blog.csdn.net/attilax

2. If Else forFolding Plugins

Veloec2.0.8 cant using in EC Luna

Lambda4jdt doesn't seem to be working.

Code folding (The collapse of a block of statements within a if/if else/switch/for curly brace) Com.cb.eclipse.folding_1.0.6.jar

This Luna ha Wannna can use. Perfm...>>java>edit>>folding, enable: Go OK LAN. If Eles for while and so on will collapse:

3. InEclipsethe Set code folding function is turned onCtrl+shift+numpad_divede ( keypad / number ) 4.

This folding is not a method of folding up . Energy Method view/function View

1. windows->perferences->general->editors->structured Text Editors

can be See Enable fold inch g option, tick-mark to use code folding function , but it is also set in a specific language.
2.

Windows->perferences->java->editors->folding

can be See Enable fold inch g option, tick-mark to use code folding function .

Second

Using shortcut keys

Below you can use the following shortcut keys in your JAVA CLASS 

Code folding shortcut keys, the default is: ctrl+shift+numpad_divede ( keypad / number ) ctrl+shift+numpad_ Multiply ( keypad * ) Notebook no keypad, then changed to: ctrl+shift+-ctrl+shift+=

Atitit.ide code block Folding plugin Eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.