Organize common shortcut keys for eclipse under Mac

Source: Internet
Author: User
Tags clear screen

Organize Eclipse common shortcut keys

The development environment switch to the Mac under The original Window shortcut key is incompatible, accustomed to the shortcut key life suddenly which day shortcut keys do not work, followed by the development efficiency is significantly reduced, frequent entry error shortcut keys let Eclipse I don't know what you want.

The following is a frequently used Eclipse accelerator that I've collated , mainly based on the first key.

The end of the document is a shortcut key that collects the text edits under the MAC system when the tag jumps or is selected.

First,Command class

Command+1

Quick fix

Command+d

Delete When moving forward

command+option+↓

Copy the current line to the next line

command+option+↑

Copy the current line to the previous row

command+←

Moves the cursor to the beginning of the current line

command+→

Moves the cursor to the end of the current line

Command+t

Quickly display the structure of the current class

Command+w

Close the current edit page

command+option+←

Previous edited page

command+option+→

The page after an edit

Command+k

Refer to the current edit page with the selected keyword down search

Command+e

Displays the list of currently edited pages to select a page to toggle

command+/

Comment or counter-comment when moving forward

Command+shift+e

Display Editor manager, optionally switch editor

Command+j

Forward lookup, find the characters entered in the current edit page, and note the hints in the Eclipse status bar

Command+shift+j

Reverse lookup, using the same way as a forward lookup

Command+shift+w

Close all open Editor

Command+shift+p

Locating a match, for a scenario with a larger code size, such as at the end of the loop body of the while () {} , where you want to jump to the while () { .

command+[

Navigate back to the last edited file

Command+]

Navigate forward to the next edited file

Second,Option class

Option+↓

Move down when moving forward

option+↑

Move up when moving forward

option+ Enter

Displays the properties of the currently selected resource

option+/

Code Assistant "Smart Tips"

Option+command+r

Renaming

Option+command+c

Modify function structure, apply refactoring

Option+command+l

Extracting Local variables

Third, theControl class

Control+m

Maximize or restore the current editor or view

Four,Shift class

shift+command+↑

Select the cursor to the beginning of all text

shift+command+↓

Select the cursor to the end of all text

shift+command+→

Select the cursor to the end of the current line

shift+command+←

Select the cursor to the beginning of the current line

V. Additional Information

Eclipse is common for text-editing jumps and check jumps, which are basic and mac Systems, and the following is the support of Mac systems for text selection or in or jump.

1. text position jump shortcut key:

Jump to the beginning of a line:

Command+ LEFT Arrow

Jump to the end of a line:

Command+ RIGHT Arrow

Jumps to the beginning of the current word (for English, pinyin):

Option+ LEFT Arrow

Jumps to the end of the current word (for English, pinyin):

option+ RIGHT Arrow

Jump to the beginning of all text:

Command+ Up ARROW

Jump to the end of all text:

Command+ DOWN ARROW

2. Select shortcut keys for text

To add a shift to the above shortcut keys, you can extend the shortcut to the selected text effect

Select the text that starts with the cursor:

Shift+command+ LEFT Arrow

Select the text at the end of the line with the cursor:

Shift+command+ RIGHT Arrow

Check the cursor to the beginning of the current word (for English, pinyin):

Shift+option+ LEFT Arrow

Check the cursor to the end of the current word (for English, pinyin):

shift+option+ RIGHT Arrow

Check the cursor to the beginning of all text:

Shift+command+ Up ARROW

Select the cursor to the end of all text:

Shift+command+ DOWN ARROW

some shortcut keys in 3.vim

Shift+4

End of Line

Shift+6

Header

Shift+g

End of document

Gg

Document Header

Vi.Terminal cursor correlation

Ctrl+u

Remove the character from the beginning of the cursor

Ctrl+k

Delete the character of the cursor to the end of the line

Ctrl+h

Delete a character ( backspace delete )

CTRL + C

Cancels the command entered by the current line

CTRL + A

Cursor moves to the beginning of the line

Ctrl+e

Cursor moves end of line

Ctrl+l

Clear screen ( similar to clear )

Ctrl+p

Bring up the previous rule in the command history ( similar to ↑ )

CTRL + N

Bring up the command history next ( similar to ↓ )

Ctrl+w

Delete a word before the current cursor

Ctrl+y

Paste (ctrl+w) the deleted word

ALT +←

Move between words to the left

ALT +→

Move between words to the right

Vii. references

1.manreadline

2.http://www.macx.cn/thread-2037724-1-1.html

Organize common shortcut keys for eclipse under Mac

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.