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.