MyEclipse shortcut keys Daquan and configuration tutorial

Source: Internet
Author: User
Tags lowercase

Personal summary of the use of shortcut keys and settings

1, Fast Import Package structure: Ctrl + Shift + O;

2, quick display error and hint information: Ctrl + 1;

3, the rapid completion of the existing class name, object name: Windows-> Preferences-> General-> Keys

Delete Word consel**, select the Content Assist, change the shortcut key to Alt +/, and select the following option as Editing Java Source.

4, Fast input System.out.println (): Input syso, press ALT +/, and then press ENTER, ok!

-------------------------------------

MyEclipse shortcut key 1 (CTRL)

-------------------------------------

Ctrl+1 Quick Fix

Ctrl+d: Delete When moving forward

Ctrl+q positioning to the last edit place

Ctrl+l positioned on a line

Ctrl+o Quick Display OutLine

Ctrl+t quickly displays the inheritance structure of the current class

Ctrl+w closes the current editer

Ctrl+k quickly navigate to the next

Ctrl+e quickly displays the Drop-down list for the current editer

Ctrl+j forward Incremental Lookup (when CTRL+J is pressed, each letter editor you enter provides a quick match to locate a word, and if not, it is not found in Stutes line)

Ctrl+z returns to the state before the modification

Ctrl+y is the opposite of the above operation

ctrl+/Note the current line, and then press to uncomment

Ctrl+d deletes the current line.

Ctrl+q jumps to the last edit office.

Ctrl+m the size of the toggle window

The Ctrl+i formatted active Elements of the element format.

Ctrl+f6 Switch to the next editor

CTRL+F7 switch to the next perspective

Ctrl+f8 switch to the next view

------------------------------------------

MyEclipse shortcut key 2 (ctrl+shift)

------------------------------------------

CTRL+SHIFT+E Displays the manager that manages all currently open view (you can choose to turn off, activate, and so on)

ctrl+shift+/Automatic Annotation Code

Ctrl+shift+ automatically cancels already commented code

Ctrl+shift+o Automatic Boot class pack

CTRL+SHIFT+J Reverse incremental lookup (same as above, only from back to front)

CTRL+SHIFT+F4 Closes all open editer

Ctrl+shift+x the text that is currently selected into lowercase

Ctrl+shift+y the text that is currently selected into lowercase

Ctrl+shift+f Format the current code

Ctrl+shift+m (Put the cursor on the class name of the package you want to import) is a plus import statement

Ctrl+shift+p navigates to the matching character (for example {}) (when positioned from the front, the cursor is in the match, back to the front, and vice versa)

Ctrl+shift+f formatted file format document.

The Ctrl+shift+o effect is that the import statement is missing and the extra import statement is deleted.

Ctrl+shift+s Save all unsaved files.

ctrl+shift+/in the Code window is this/*~*/annotation, which is in the JSP file window.

Shift+ctrl+enter inserts a blank line on the current line (principle above)

-----------------------------------------

MyEclipse shortcut Key 3 (ALT)

-----------------------------------------

alt+/Code Assistant completes some code inserts, displays the prompt information automatically

Alt+↓ the current line and the following line of interactive position (especially practical, you can save the first cut, then paste)

Alt+↑ the current row and the previous line of interaction position (IBID.)

alt+← the previous edited page

alt+→ the next edited page (for the above article, of course)

Alt+enter displays the properties of the currently selected resource (project, or file or file)

MyEclipse shortcut key 4 (Alt+ctrl)

Alt+ctrl+↓ copy current line to next line (copy increase)

Alt+ctrl+↑ copy current line to previous line (copy increase)

-------------------------------------------

MyEclipse shortcut key 5 (alt+shift)

-------------------------------------------

Alt+shift+r renaming

Alt+shift+m Extraction Method

Alt+shift+c Modify the function structure (more practical, there are n functions called this method, modify a fix)

Alt+shift+l Extract Local Variables

Alt+shift+f the local variable in class into a field variable

Alt+shift+i Merge variables

ALT+SHIFT+V move functions and variables

Alt+shift+z The Regret Medicine (Undo) Shift+enter inserts a blank row on the next line in the current row (at which point the mouse can be either at any point in the current line, not necessarily the last)

Alt+shift+o (or click on the Toggle Mark Occurrences button in the toolbar) when you click on a tag to make this mark in the other parts of this page highlighted yellow, and the window on the right side of the box will appear white squares, click this box will jump to this mark.

The following shortcuts are commonly used in refactoring, I like and commonly used to tidy up (note: The general refactoring shortcuts are alt+shift the beginning of the)

--------------------------------------------

MyEclipse shortcut keys (6)

--------------------------------------------

F2 when the mouse is placed at a marker Tooltip when pressed F2 the mouse to move away when the Tooltip will also show that shows Tooltip Description.

F3 jumps to the place where the declaration or definition is made.

F5 Step into the function inside.

F6 Single Step debugging does not enter the function inside, if installed PowerWord 2006 will be "Take word switch" shortcut keys to change to other.

The F7 is returned to the call from within the function.

F8 always executes to the next breakpoint.

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.