Ctrl
This section lists and describes the keyboard shortcuts that include the Ctrl key.
Ctrl+Alphanumeric keys
Shortcut | Function | Use this shortcut to... |
---|---|---|
Control+A | Select All | Select the entire text in the active editor. |
Control+B | Navigate to Declaration | Navigate directly to an element's declaration from any usage. |
Control+C | Copy | Copy selected text to the Clipboard. |
Control+D | Duplicate Line or Block | Duplicate selected block or line at caret. |
Control+E | Recent Files Recent find usages | Show the list of recently opened files. When the Find tool window has the focus, use this shortcut to show the list of recent find usages results. |
Control+F | Find | Initiate text search in the editor. |
Control+G | Navigate to Line | Navigate the to a line with the specified number in the current file. |
Control+H | Type Hierarchy | Browse hierarchy for the selected class. |
Control+J | Insert Live Template | Show a list of Live Templates starting with a specified prefix. |
Control+M | Scroll to Center | Scroll a line at caret to the center of the screen. |
Control+N | Navigate to Class | Jump to a class in the project with the specified name. |
Control+O | Override Methods | Override base class methods in the current class. |
Control+P | Parameter Info | Show parameters of the method call at the caret. |
Control+Q Alt+Mouse Button2 | Quick documentation | Show a popup with documentation for the symbol at caret. In the Database tool window: show a popup that displays the |
Control+R | Replace | Call the Replace Text dialog box. |
Control+S | Save All | Save all files and settings. |
Control+U | Navigate to Super Method | Navigate to a super method declaration of a method at caret |
Control+V | Paste | Paste from the Clipboard. |
Control+W | Select Word at Caret | Successively select expanding blocks of text, starting from the word at caret. (Use this shortcut repeatedly to select expressions.) |
Control+X | Cut | Cut to the Clipboard. |
Control+Y | Delete Line at Caret | Delete a word starting from the current caret location up to the end of word. |
Control+Z | Undo | Undo last operation. |
Control+Shift+Z | Redo | Redo last undone operation. |
Ctrl+Number | Navigate to bookmark | Navigate to a numbered bookmark with corresponding number. |
Ctrl+Navigation keys
Shortcut | Function | Use this shortcut to... |
---|---|---|
Control+Tab | Switcher | Navigate between the files opened in the editor, and tool windows. |
Control+Backspace | Delete to Word Start | Delete a word starting from the current caret location up to the word start. |
Control+Delete | Delete to Word End | Delete a word starting from the current caret location up to the word end. |
Control+End | Move to Text End | Move the caret to the end of text. |
Control+Enter | Split Line or Open Item | Depending on the context:
|
Control+Home | Move to Text Start | Jump to the beginning of the text. |
Control+C | Copy | Copy a current line or a selected code block to the Clipboard. |
Control+Space | Basic Code Completion | Complete code for any class, method or variable. |
Control+PageDown | Navigate to Page Bottom | Move the caret down to the page bottom. |
Control+PageUp | Navigate to Page Top | Move the caret up to the page top. |
Control+ArrowDown | Scroll Down | Move line at caret one down, preserving syntactical correctness. |
Control+ArrowLeft | Move to Previous Word | Move the caret to the previous word. |
Control+ArrowRight | Move to Next Word | Move the caret to the next word. |
Control+ArrowUp Control+Shift+ArrowUp | Scroll Up | Move line at caret one up, preserving syntactical correctness. |
Ctrl+Ctrl+Home/End | Select text from the caret position to the beginning/end of the current line. |
Ctrl+Symbol keys
Shortcut | Function | Use this shortcut to... |
---|---|---|
Control+[ | Move to Code Block Start | Move the caret to the beginning of the current code block, highlighting its limits. |
Control+] | Move to Code Block End | Move the caret to the end of the current code block, highlighting its limits. |
Control+/ Ctrl+Numpad/ | Comment with Line Comment | Comment/uncomment current line or selected block with line comments. |
Ctrl+= NumPad-NumPad-+ | Expand All | Expand all folding blocks. |
NumPad-NumPad-- | Collapse All | Collapse all folding blocks. |
Ctrl+Numpad keys
Shortcut | Function | Use this shortcut to... |
---|---|---|
Ctrl+Numpad/ Control+/ | Comment with Line Comment | Comment/uncomment current line or selected block with line comments. |
NumPad-NumPad-+ Ctrl+= | Expand All | Expand all folding blocks. |
NumPad-NumPad-- | Collapse All | Collapse all folding blocks. |
Ctrl+Function (F) keys
Shortcut | Function | Use this shortcut to... |
---|---|---|
Control+F1 | Error Description | Show an error or warning description at the caret. |
Control+F3 | Next Occurrence of the Word at Caret | Search in the editor for the word where the caret is currently located. |
Control+F6 | Change Method Signature | Refactor a selected method signature and update all references. |
Control+F7 | Find Usages in File | Initiate search for usages. |
Control+F8 | Toggle Breakpoint | Toggle breakpoint at caret. |
Control+F9 | Make Project | Compile all modified and dependent files in a project. |
Control+F11 | Toggle Bookmark with mnemonic. | Turn bookmark with mnemonic on or off. |
Control+F12 | File Structure popup | Show the current file structure in the File Structure popup for quick navigation. |