Advanced Editing
Function | Shortcut | Use this shortcut to... |
---|---|---|
Comment with Line Comment | Ctrl+Slash | Comment/uncomment current line or selected block with line comments. |
Comment with Block Comment | Ctrl+Shift+Slash | Comment/uncomment code with block comments. |
Quick Documentation Look-up | Ctrl+Q | Show a pop-up window with PHPDoc or JSDoc comments for the symbol at the caret. |
Show Table Data | Ctrl+Q | 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 | Ctrl+Shift+Alt+H | Show the Highlighting level pop-up window to configure highlighting in the current file. |
Parameter Info | Ctrl+P | Show parameters of the method call at the caret. |
Context Info | Alt+Q | Show the current method or class declaration when it is not visible. |
Error Description | Ctrl+F1 | Show an error or warning description at the caret. |
External Documentation | Shift+F1 | Open browser with the documentation for the selected item. |
Override Methods... | Ctrl+O | Override base class methods in the current class. |
Surround with... | Ctrl+Alt+T |
Surround selected code fragment with if ,
do , tags or other constructs.
|
Basic Code Completion |
Ctrl+Space
Alt+Slash | Code completion for any class, method or variable. |
SmartType Code Completion | Ctrl+Shift+Space | Code Completion filtering the lookup list basing on expected type. |
Expand Word | Alt+Slash | Goes through the names of classes, methods, keywords and variables in the current visibility scope. |
Insert Live Template... | Ctrl+J | Show a pop-up list of starting with a specified prefix. |
Surround with Live Template... | Ctrl+Alt+J | Surround the selection with one of the templates. |
Next Template Variable | Tab | In templates: move the caret to the next template variable. |
Previous Template Variable | Shift+Tab | In templates: move the caret to the previous template variable. |
See Also
Reference:
Last modified: 24 November 2016