Eclipse displays in parentheses and font adjustments to the hyphenation number

Source: Internet
Author: User

Author: Benedict Ching June


One, bracket alignment : Refers to C + + inside the same. Align up and down brackets ~ ~ ~

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


Step two: Click New on the right to fill in the profile name with a name. Click OK

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


Two, display line number:

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


Three, font adjustment:

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


References: Rong code a lifetime 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. The eclipse curly braces align to the left. Http://www.cnblogs.com/wanghafan/archive/2012/06/28/2567211.html May 18, 2014

Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Eclipse displays in parentheses and font adjustments to the hyphenation number

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.