| Function | Shortcut | Use this shortcut to... |
|---|---|---|
| Comment with Line Comment | ⌘/, ⌘NumPad /, ⌘/ or ⌘NumPad /⌘/, ⌘NumPad /, ⌘/ or ⌘NumPad /⌘/, ⌘NumPad /, ⌘/ or ⌘NumPad /^ Slash, ^ NumPad /, ^ Colon, ⌃/, ⌃NumPad /, ⌃:, ⌃/, ⌃NumPad / or ⌃:⌥ Semicolon, ⌥; or ⌥; | Comment/uncomment current line or selected block with line comments. |
| Comment with Block Comment | ⌥⌘/, ⌥⌘NumPad /, ⌃⇧/, ⌃⇧NumPad /, ⇧⌘/, ⇧⌘NumPad /, ⌥⌘/, ⌥⌘NumPad /, ⌃⇧/, ⌃⇧NumPad /, ⇧⌘/ or ⇧⌘NumPad /⌃⇧/, ⌃⇧NumPad /, ⇧⌘/, ⇧⌘NumPad /, ⌃⇧/, ⌃⇧NumPad /, ⇧⌘/ or ⇧⌘NumPad /⌃⇧/ or ⌃⇧/^ ⇧ Slash, ^ ⇧ NumPad /, ^ ⇧ Colon, ⌃⇧/, ⌃⇧NumPad /, ⌃⇧:, ⌃⇧/, ⌃⇧NumPad / or ⌃⇧:^ ⇧ Slash, ^ ⇧ NumPad /, ⌃⇧/, ⌃⇧NumPad /, ⌃⇧/ or ⌃⇧NumPad / | Comment/uncomment code with block comments. |
| Quick Documentation | F1, ⌃J, ⌃Button2 Click, F1, ⌃J or ⌃Button2 Click⌃J, ⌃Button2 Click, ⌃J or ⌃Button2 Click⌥Button2 Click, F2, ⌥Button2 Click or F2^ Q, ⌃Q or ⌃Q^ Q, ⌥ Button2 Click, ⌃Q, ⌥Button2 Click, ⌃Q or ⌥Button2 Click/⌥ Button2 Click | Show a pop-up window with the documentation for the symbol at the caret. |
| Show Table Data | F1, ⌃J, ⌃Button2 Click, F1, ⌃J or ⌃Button2 Click⌃J, ⌃Button2 Click, ⌃J or ⌃Button2 Click⌥Button2 Click, F2, ⌥Button2 Click or F2^ Q, ⌃Q or ⌃Q^ Q, ⌥ Button2 Click, ⌃Q, ⌥Button2 Click, ⌃Q or ⌥Button2 Click | Show a pop-up window that displays the create table query for the database table at the caret
and the first 10 rows of the table.
|
| Pop-up Hector | ⌥⇧⌘H or ⌥⇧⌘H⌥⇧⌘H or ⌥⇧⌘H⌥⇧⌘H or ⌥⇧⌘H^ ⇧ ⌥ H, ⌃⌥⇧H or ⌃⌥⇧H^ ⇧ ⌥ H, ⌃⌥⇧H or ⌃⌥⇧H | Show the Highlighting level pop-up window to configure highlighting in the current file. |
| Parameter Info | ⌘P or ⌘P⌘P or ⌘P⌘P or ⌘P^ P, ⌃P or ⌃P^ P, ⌃P or ⌃P | Show parameters of the method call at the caret. |
| Context Info | ⌃⇧Q or ⌃⇧Q⌃⇧Q or ⌃⇧Q⌃⇧Q or ⌃⇧Q⌥ Q, ⌥Q or ⌥Q⌥ Q, ⌥Q or ⌥Q | Show the current method or class declaration when it is not visible. |
| Error Description | ⌘F1 or ⌘F1⌘F1 or ⌘F1⌘F1 or ⌘F1^ F1, ⌥ T, ⌃F1, ⌥T, ⌃F1 or ⌥T^ F1, ⌃F1 or ⌃F1 | Show an error or warning description at the caret. |
| External Documentation | ⇧F1 or ⇧F1⇧F1 or ⇧F1⇧F2 or ⇧F2⇧ F1, ^ F1, ⇧F1, ⌃F1, ⇧F1 or ⌃F1⇧ F1, ⇧F1 or ⇧F1 | Open browser with the documentation for the selected item. |
| Override Methods... | ⌃O or ⌃O⌘O or ⌘O^ ⇧ O, ⌃⇧O or ⌃⇧O | Override base class methods in the current class. |
| Implement Methods... | ⌃I or ⌃I⌘I or ⌘I^ ⇧ I, ⌃⇧I or ⌃⇧I^ I, ⌃I or ⌃I | Override base interface/class methods in the current class. |
| Surround with... | ⌥⌘T or ⌥⌘T⌥⌘T or ⌥⌘T⌥⌘Z or ⌥⌘Z^ ⌥ T, ⌃⌥T or ⌃⌥T^ ⌥ T, ⌃⌥T or ⌃⌥T |
Surround selected code fragment with if,
do, tags or other constructs.
In the GUI Designer, use this shortcut to wrap selected components into a container. |
| Generate | ⌘N, ⌃⏎, ⌘N or ⌃⏎⌃N, ⌃⏎, ⌃N or ⌃⏎⌘N, ⌃⏎, ⌘N or ⌃⏎^ N, ⌥ Insert, ⌃N or ⌃N⌥ Insert |
Generate constructors, accessor methods, EJB components, Maven dependencies in the
pom.xml files, using the pop-up menu.
|
| Basic Code Completion |
⌃Space or ⌃Space⌃Space or ⌃Space⌃Space or ⌃Space^ Space, ⌃Space or ⌃Space⌥ Slash, ⌥/ or ⌥/
⌥/ or ⌥/⌥/ or ⌥/⌃. or ⌃.⌥ Slash, ⌥/ or ⌥/⌥ Slash, ⌥/ or ⌥/ | Code completion for any class, method or variable. |
| SmartType Code Completion | ⌃⇧Space or ⌃⇧Space⌃⇧Space or ⌃⇧Space⌥⇧Space or ⌥⇧Space⇧ ⌥ Space, ⌥⇧Space or ⌥⇧Space^ ⇧ Space, ^ ⌥ Slash, ⌃⇧Space, ⌃⌥/, ⌃⇧Space or ⌃⌥/ | Code Completion filtering the lookup list basing on expected type. |
| Expand Word | ⌥/ or ⌥/⌥/ or ⌥/⌃. or ⌃.⌥ Slash, ⌥/ or ⌥/⌥ Slash, ⌥/ or ⌥/ | Goes through the names of classes, methods, keywords and variables in the current visibility scope. |
| Insert Live Template... | ⌘J or ⌘J⌘J or ⌘J^ J, ⌃J or ⌃J^ J, ⌃J or ⌃J | Show a pop-up list of starting with a specified prefix. |
| Surround with Live Template... | ⌥⌘J or ⌥⌘J⌥⌘J or ⌥⌘J⌥⌘J or ⌥⌘J^ ⌥ J, ⌃⌥J or ⌃⌥J^ ⌥ J, ⌃⌥J or ⌃⌥J | Surround the selection with one of the templates. |
| Next Template Variable | ⇥, ⏎, ⇥ or ⏎⇥, ⏎, ⇥ or ⏎⇥, ⏎, ⇥ or ⏎Tab, Enter, ⇥, ⏎, ⇥ or ⏎Tab, Enter, ^ M, ⇥, ⏎, ⌃M, ⇥, ⏎ or ⌃M | In templates: move the caret to the next template variable. |
| Previous Template Variable | ⇧⇥ or ⇧⇥⇧⇥ or ⇧⇥⇧⇥ or ⇧⇥⇧ Tab, ⇧⇥ or ⇧⇥⇧ Tab, ⇧⇥ or ⇧⇥ | In templates: move the caret to the previous template variable. |