Eclipse set font, character encoding, shortcut keys

Source: Internet
Author: User

1. Set the font:

Preferences->general->appearnce->colors and fonts->edit-> font size 14, glyph general, Font Consolas

2. Set the character encoding:

General->workspace->other: Select Utf-8,apply

3. Set shortcut keys

The picture looks like this:

  

Some common shortcut keys:

alt+/Code Helper to complete some code insertion
Ctrl+1 Quick Fix
Shift+enter inserts a blank row on the next line of the current row (at which point the mouse can be at any position in the current row, not necessarily the last)
Ctrl+shift+enter Insert blank line in current line (principle above)

Ctrl+d: Delete When moving forward
Ctrl+alt+↓ Copy the current row to the next row (copy increase)//conflict cumin: ctrl+↓
Ctrl+alt+↑ Copy the current line to the previous row (copy increase)//conflict cumin: ctrl+↑
Alt+↓ the current line and the next line of interaction (especially useful, can be omitted first cut, then pasted)
Alt+↑ the current line and the upper row interaction position (IBID.)

Ctrl+shift+f formatting of the current code
Ctrl+f Find and replace
Ctrl+shift+x the text that is currently selected is all stale lowercase
Ctrl+shift+y turns the currently selected text to lowercase
ctrl+/comment on the current row or selected row, and then cancel the comment
ctrl+shift+/Comment the selected row
Ctrl+shift+\ Interpretation Notes

Eclipse set font, character encoding, shortcut keys

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.