This time, I've summarized the shortcut keys that I often use in Eclipse. (Including basic ones such as Ctrl + C.)
-** [Ctrl] + [Alt] + [↑ / ↓]: ** Duplicate the selected line up / down -** [Alt] + [↑ / ↓]: ** Move selected line up / down -** [Ctrl] + [D]: ** Clear selected line -** [Ctrl] + [/]: ** Comment / Uncomment the selected line -** [Ctrl] + [Shift] + [/]: ** Block selection -** [Ctrl] + [Shift] + [\]: ** Uncomment the block of the selection -** [Shift] + [Alt] + [R]: ** Rename (If you move the cursor to the method name or variable name, you can change the names in the source code at once) -** [Ctrl] + [Back space / Release]: ** Clear words before / after the selection cursor -** [Ctrl] + [Space]: ** Display / completion of input candidates (System.out.println (); is input when sysout is used after input) -** [Ctrl] + [Shift] + [F]: ** Automatically format (format) source code -** [Ctrl] + [Shift] + [O]: ** Organize import statements at once (add what you need and delete what you don't use) -** [Ctrl] + [C]: ** Copy the selected item -** [Ctrl] + [X]: ** Cut the selected item -** [Ctrl] + [V]: ** Paste the copied or cut items -** [Windows] + [V]: ** Paste from clipboard -** [Ctrl] + [A]: ** Select all items -** [Ctrl] + [Z]: ** Undo the last operation (when you make a mistake or erase it by mistake) -** [Ctrl] + [Y]: ** Redo the undo operation (for example, when canceling the undo operation with Ctrl + Z)
-** [Ctrl] + [N]: ** Create a new class etc. -** [Ctrl] + [S]: ** Overwrite and save the file being operated -** [Ctrl] + [Shift] + [S]: ** Save all open files- -** [Ctrl] + [W]: ** Close the file being operated -** [Ctrl] + [Shift] + [W]: ** Close all open files
-** [Ctrl] + [F7]: ** Switch to the next view -** [Ctrl] + [Shift] + [F7]: ** Switch to the previous view -** [Ctrl] + [F8]: ** Switch to the next perspective -** [Ctrl] + [Shift] + [F8]: ** Switch to the previous perspective -** [Ctrl] + [PageUp / PageDown]: ** Switch to previous / later tab
-** [Ctrl] + [F11]: ** Run the program -** [F11]: ** Debugging -** [F5]: ** Step-in (execute the processing of the next line, enter the method if there is one) -** [F6]: ** Step over (execute the processing of the next line, even if there is a method, it will not enter) -** [F7]: ** Step return (finishes execution of the current method and returns to the caller) -** [F8]: ** Resume (advance to the next breakpoint)- -** [Ctrl] + [F2]: ** Suspend processing
Recommended Posts