Original URL: http://denver.blog.51cto.com/272871/52219
Edit related shortcut keys
1, (alt+/)
Provide user-assisted content.
2, (ctrl+o)
Displays an outline of the methods and properties in the class and quickly locates them.
3, (ctrl+/)
Quickly annotate or uncomment the line or selected line of your cursor.
4, (ctrl+m)
Maximize and restore the window.
5, (ctrl+1)
Quick fix.
Viewing and locating shortcut keys
1, (ctrl+k), (ctrl+shift+k)
Quickly look down and up.
2, (ctrl+shift+t)
Find the available classes in the build path.
3, (ctrl+shift+r)
Find all the files that are focused on the build path.
4, (ctrl+shift+g)
Find references to classes, methods, and properties.
5, (ctrl+shift+o)
Quickly generate import.
6, (ctrl+shift+f)
Format code.
7, (alt+shift+w)
Finds the path in the project where the current file is located.
8, (ctrl+l)
Navigates to a row in the current editor.
9, (alt+<-), (alt+->)
Back history and forward history.
10, (f3)
A class, method, and property that quickly locates the cursor position.
11, (f4)
Displays the inheritance relationship for the class.
Debugging shortcut Keys
1. (ctrl+shift+b) sets a breakpoint or cancels the breakpoint at the current line.
2, (f8) continue execution, to the next breakpoint or the end of the program.
3, (f11) debugging the last execution of the program.
4, (ctrl+f11) run the last execution of the program.
other
1, (ctrl+f6), (ctrl+shift+f6): Switch to the next editor or the previous editor.
2, (ctrl+f7), (ctrl+shift+f7): Switch to the next view or the previous view.
3, (CTRL+F8), (ctrl+shift+f8): Switch to the next view or the previous view Ctrl + D: Delete Row Ctrl + M: Maximize or minimize the current window Ctrl + L: Skip to the specified line CTRL + 1: Code correction hint ALT +/: Code helper hint F 11: Run the last run of the program tips: 1, if the written code needs to throw or catch an exception, in JBuilder, you need to first introduce this exception class, and then add Try,catch before and after the code is written, or add throws after the method, in eclipse completely do not need this , just write the code, and then press CTRL + 1, you will be prompted to indicate that you are throw or catch this exception, choose what you need, press ENTER on it. 2, in the Write loop or select the conditions of the statement, first write the keywords such as if, while, and then press ALT +/To see what the benefits. Next you will be prompted for the Code, press TAB to jump in the box, press OK to jump out of the code hint.
Ctrl + Shift + T:Open type: Displays the Open Type dialog box to open the type in the editor. The Open Type Selection dialog box displays all the types that exist in the workspace, such as classes, interfaces, and so on.
Ctrl + Shift + R:Open resource: Opens the Open Resource dialog box to open any resource in the workspace. You can quickly open any file in the Package Explorer without having to browse for it. Using this shortcut, you can open a dialog box and enter the file or wildcard character you want to find.
Ctrl + O:Quick outline: Opens a lightweight outline diagram of the currently selected type. Opening a member variable directly in a file (such as a field, method), especially if there are many similar method names, will become very useful.
Ctrl + L:Enter number of rows: Go to Line: Opens a dialog box that allows you to enter the line number that the editor should jump to. Applies only to editors. Enter the line number and you can quickly jump to the nth row in the source file,
Ctrl + Q:Last edit location: Displays the location of the previous edit operation, returning to the nearest modified location. Even if you look at different files, you can use this shortcut to find the location of your most recent changes to the file. Especially when the file is larger, it is more useful.
Ctrl + T:Quick type hierarchy: Opens the Lightweight hierarchy viewer for the currently selected type, enabling you to quickly go to a supertype or subtype.
Ctrl + E:Jump to another editor quickly. Note that CTRL + F6 can also implement this function, in the use of the time to pay attention to their similarities and differences.
Ctrl +./ctrl +,:Quickly locate an issue in a file (such as errors, warnings, and so on)
alt +←and Alt +→:Go back and forth to the file you have consulted
F3:Quickly go to a type declaration. You can also hold down CTRL and click the hyperlink variable or the class or any declarations you want to see.
"Go" Eclipse common shortcut keys