Eclipse (MyEclipse) tips-Modify the font size of comments

Source: Internet
Author: User


After Eclipse is installed, the font size of the comments is much smaller than the code size.

Window -- preferences -- General -- appearance -- color and font -- Basic -- text font -- edit

Window --> Preferences --> General --> Appearance --> Colors and Fonts --> Basic --> Text Font --> Edit --> size

After the modification, the font of the code and comment is increased as a whole, but the font of the comment is still smaller than that of the Code, which is much different from what I want, what I want is that the font size of the comment is greater than the font size of the Code.

 

So I checked on the internet how to modify, set, and adjust the font size of the comment so that the font size of the comment can be larger than the font size of the Code. Too many people on the Internet said, note font and code font cannot be set separately. However, the comment font in The DRP video we watched was significantly larger than the code font, So we searched online and finally found the answer.

 

The initial setting is only one step away from the final success, or the basic settings just now plus the last step, window --> Preferences --> General --> Appearance --> Colors and Fonts --> Basic --> Text Font --> Edit --> Font, change the font to "Courier New" to achieve the desired effect, so that the font of the comment is larger than the font of the Code.

 

Another point is that some versions may not find "CourierNew" in the font ", click the "show more fonts" link in the lower-left corner of the font selection box to open the control panel for font setting. Find "CourierNew" and Right-click "show" to activate the font) -- click "OK". Click "OK.

 

The basic settings of MyEclipse and Eclipse are the same.

 

Next let's take a look at the effects before and after the changes.

 

Before modification:


 


 

 

After modification:

 


 


 

It looks much more comfortable.

 

After that:


You cannot believe what you say online, or believe it all. Nothing can be done, just unexpected! Everything is possible as long as you think, find, and do it.


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.