Java IDE development tool shortcut

Source: Internet
Author: User
Tags return tag

Jbuilder2006

CTRL + J, press O, or enter "out", and then press Ctrl + J.

System. Out. println ("");

Press F9 to create a project running module.

CTRL + ALT + P show/hide project panel

CTRL + ALT + C show/hide code and design panel

CTRL + ALT + s show/hide structure panel

CTRL + ALT + M display/hide message panel

CTRL + ALT + u show/hide the status bar

CTRL + ALT + z display/hide project, structure, information panel

CTRL + B select window-> swich Option

CTRL + x cut

CTRL + V Paste

CTRL + C copy

CTRL + J activate the code Module

CTRL + Shift + H enter the brackets () of the method, and the parameter Prompt window is displayed.

CTRL + F open the query and replace window

CTRL +-open the class query window

F5 program adds breakpoint

F8 code line by line

F4 multi-line running code

CTRL + Right-click to display detailed variable information

F1 help

F3 find next

Shift + F3 reverse lookup next

CTRL + F search

CTRL + P path search

CTRL + F4 run to current location

CTRL + F6 switch different files in JBuilder

CTRL + F4 close the file being edited,

CTRL + F5 switch project

F5 set breakpoint

F7 followed

F8 single step

Run F9

CTRL + F9 compile the project

Shift + F9 run in debug mode

CTRL + Shift + F9 compile the current class

CTRL + H show the class members

CTRL + J display template

CTRL + Shift + J template editing

CTRL + Shift + C automatically complete error capture code

CTRL + enter/mouseclick current keyword tracking

CTRL + shit + number (0-9) Set/remove tags

CTRL + number (0-9) return tag position

CTRL + ALT +->/<-Return to the nearest Access Point

CTRL +->/<-the cursor skips the current Unit Word

CTRL + Shift +->/<-select the Unit Word

CTRL + up and down arrow keys scroll the screen

CTRL + home/end/Pageup/Pagedown

Shift + disk direction key/home/end/Pageup/Pagedown select

CTRL + e incremental search

CTRL + W capture words closest to the cursor

CTRL + Shift + h Parameter search

CTRL + ALT + spaceclassinsight

CTRL + F4 close the current class

CTRL + Shift + F4 close (show and select)

CTRL + B switch form

CTRL + F6 switch form

CTRL + ALT + P/C/m/z/s view Switch

CTRL + O/n/C/V/X/P/

CTRL + G to specified row

Tab formatting

CTRL +/comment/remove comment select line

CTRL + Shift + I

CTRL + Shift + u reverse sleep

Eclipse shortcut keys

1. Common shortcut keys

(1) Ctrl + Space
(Content assistant. Provides prompts for methods, variables, parameters, javadoc, etc., which should be used in a variety of occasions. In short, you can press this shortcut key when prompted.
Note: do not conflict with the input method switching settings.

(2) Ctrl + Shift + Space
Note: Variable prompt

(3) Ctrl +/
Note: Add/Remove // annotation. In eclipse2.0, the annotation for elimination is Ctrl +/

(4) Ctrl + Shift +/
Note: Add/**/comment

(5) Ctrl + Shift +/
Note: delete/**/comment

(6) Ctrl + Shift + F
Note: The code is automatically formatted.

(7) Ctrl + 1
Note: you can modify variable names in source code in batches and use them on catch blocks.

(8) ctril + F6
Note: interface switching

(9) ctril + Shift + m
Note: Find the desired package

(10) ctril + Shift + O
Note: The required package is automatically introduced.

(11) CTRL + ALT + S
(Shortcut menu for source code. Generate getters and setters and surround with try/catch)
Block is commonly used. We recommend that you add them as shortcut keys. You can set the shortcut keys on Windows> preferences> workbench> keys.

2. Shortcut Key List

Edit
Shortcut for scope Function
Globally search and replace Ctrl + F
Search for the previous Ctrl + Shift + K in the text editor
Search for the Next Ctrl + K in the text editor
Globally undo Ctrl + z
Global copy Ctrl + c
Select Alt + Shift + continue for global recovery.
Globally cut Ctrl + x
Global quick correction ctrl1 + 1
Global content assist Alt +/
Globally select Ctrl +
Delete globally
Global context information Alt +? Alt + Shift +? CTRL + Shift + Space
Java editor display tooltip description F2
Java editor selects the encapsulation element Alt + Shift + Transform
Java editor selects the previous element Alt + Shift + ↓
Select the next element Alt + Shift + →
Text Editor incremental search Ctrl + J
Text Editor incremental reverse lookup Ctrl + Shift + J
Globally paste Ctrl + V
Global redo Ctrl + Y

View
Shortcut for scope Function
Zoom in globally Ctrl + =
CTRL +-

Window
Shortcut for scope Function
Global activation editor F12
Global switch editor Ctrl + Shift + W
Global editor Ctrl + Shift + F6
Global View Ctrl + Shift + F7
Global Perspective Ctrl + Shift + F8
The next global editor Ctrl + F6
Next Global View Ctrl + F7
CTRL + F8
Text Editor display ruler context menu Ctrl + W
Global View menu Ctrl + F10
Global display of System Menu Alt +-

Navigation
Shortcut for scope Function
Open the structure Ctrl + F3 in the Java editor.
Global Open type ctrl + Shift + T
Global Open Type hierarchy F4
Global open declaration F3
Open external javadoc SHIFT + F2 globally
Globally open resource Ctrl + Shift + R
Global rollback history Alt + rollback
Global forward history Alt + →
CTRL +,
CTRL +.
Java editor display outline Ctrl + O
Globally open the type ctrl + Shift + H in the hierarchy
Globally move to matching parentheses Ctrl + Shift + P
Go global to the previous editing location Ctrl + q
Go to the previous Member Ctrl + Shift + ← in the Java editor.
Go to the next member in the Java editor Ctrl + Shift + ←
Text Editor to Ctrl + L

Search
Shortcut for scope Function
Globally displayed in the file Ctrl + Shift + u
Global Search dialog box Ctrl + H
Declare Ctrl + G in the global Workspace
Reference Ctrl + Shift + G in the global Workspace

Text editing
Shortcut for scope Function
Text Editor rewrite switch insert
CTRL + ← on the text editor
CTRL + ←

File
Shortcut for scope Function
Save Ctrl + x Ctrl + S globally
Print Ctrl + P globally
Globally Disable Ctrl + F4
Globally save Ctrl + Shift + S
Globally Disable Ctrl + Shift + F4
Global attribute Alt + enter
Globally create Ctrl + n

Project
Shortcut for scope Function
Global build Ctrl + B

Source code
Shortcut for scope Function
Java editor format Ctrl + Shift + F
Java editor uncomment Ctrl +/
Java editor comment Ctrl +/
Add and import Ctrl + Shift + M to the Java Editor
Java editor organization import Ctrl + Shift + O
The Java editor uses try/catch blocks to enclose unset ones, which is too common. Therefore, we recommend that you set them here. You can also use Ctrl + 1 to automatically correct them.

Run
Shortcut for scope Function
F7 is returned in one global step.
Skip F6 in one global step
Global One-Step Jump to F5
Global One-Step Jump-in and select Ctrl + F5
Global debugging last started F11
Continue F8 globally
Shift + F5 in one step using filters globally
Globally Add/remove breakpoints Ctrl + Shift + B
Global display Ctrl + d
Global run last started Ctrl + F11
Run Ctrl + R globally
Execute Ctrl + u globally

Reconstruction
Shortcut for scope Function
Global undo reconstruction Alt + Shift + z
Global extraction method Alt + Shift + m
Global extraction of local variables Alt + Shift + L
Global inline Alt + Shift + I
Move Alt + Shift + V globally
Globally rename Alt + Shift + R
Global redo Alt + Shift + Y

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.