Eclipse brackets for hyphenation display and font adjustment

Source: Internet
Author: User

Author: Ching


One, bracket alignment: Refers to the same as in C + +, the upper and lower brackets align ~ ~ ~

First step: Project->preferences->java->code Style->formatter


Second step: Click on the right of the new in the profile name to fill in a name, click OK

Select tab braces change all same line (except the last array initializer) to next line
Save As you can


Two, display line number:

Right-click the edit box where you want to display the line number, tick "show line number".


Three, font adjustment:

window–> preferences–> general–> appearance–> Colors and Fonts, select "Basic" Colors "Text Fon in Fonts and –>" T


References: Rong Code life Blog, Eclipse Chinese font size changes, so that the English font coordination, HTTP://RONGMAYISHENG.COM/POST/ECLIPSE-JUNO%E4%B8%AD%E6%96%87%E5%AD%97%E4 %BD%93%E5%A4%A7%E5%B0%8F%E4%BF%AE%E6%94%B9 May 18, 2014

A basket of rice-rich blog Park, eclipse curly braces left aligned, http://www.cnblogs.com/wanghafan/archive/2012/06/28/2567211.html May 18, 2014

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.