Hotkeys and shortcuts for MPS 2017 (Windows)

(Total 174)

Ctrl + /
Advanced Editing
Comment/uncomment current line or selected block with line comments
Ctrl + Shift + /
Advanced Editing
Comment/uncomment code with block comments
Ctrl + Shift + Alt + H
Advanced Editing
Show the Highlighting level pop-up window to configure highlighting in the current file
Ctrl + P
Advanced Editing
Show parameters of the method call at the caret
Alt + Q
Advanced Editing
Show the current method or class declaration when it is not visible
Ctrl + F1
Advanced Editing
Show an error or warning description at the caret
Shift + F1
Advanced Editing
Open browser with the documentation for the selected item
Ctrl + O
Advanced Editing
Override base class methods in the current class
Ctrl + Alt + T
Advanced Editing
Surround selected code fragment with if, do, tags or other constructs
Ctrl + Spacebar
Advanced Editing
Code completion for any class, method or variable
Ctrl + Shift + Spacebar
Advanced Editing
Code Completion filtering the lookup list basing on expected type
Alt + /
Advanced Editing
Goes through the names of classes, methods, keywords and variables in the current visibility scope
Ctrl + J
Advanced Editing
Show a pop-up list of starting with a specified prefix
Ctrl + Alt + J
Advanced Editing
Surround the selection with one of the templates
Tab
Advanced Editing
In templates: move the caret to the next template variable
Shift + Tab
Advanced Editing
In templates: move the caret to the previous template variable
Backspace
Basic Editing
Delete a character to the left of the caret
Ctrl + Z
Basic Editing
Undo last operation
Ctrl + Shift + Z
Basic Editing
Redo last undone operation
Ctrl + X
Basic Editing
Cut a current line or a selected code block to the Clipboard
Ctrl + C
Basic Editing
Copy a current line or a selected code block to the Clipboard
Ctrl + V
Basic Editing
Paste from the Clipboard to the caret location
Ctrl + Shift + V
Basic Editing
Paste selected entry from the Clipboard to the caret location
Up Arrow
Basic Editing
Move the caret one line up
Shift + Up Arrow
Basic Editing
Move the caret one line up selecting the text
Down Arrow
Basic Editing
Move the caret one line down
Shift + Down Arrow
Basic Editing
Move the caret one line down selecting the text
Left Arrow
Basic Editing
Move the caret one character to the left
Shift + Left Arrow
Basic Editing
Move the caret one character to the left selecting the text
Right Arrow
Basic Editing
Move the caret one character to the right
Shift + Right Arrow
Basic Editing
Move the caret one character to the right selecting the text
Ctrl + PgDn
Basic Editing
Move the caret down to the page bottom
Ctrl + Shift + PgDn
Basic Editing
Move the caret down to the page bottom, selecting the text
Ctrl + PgUp
Basic Editing
Move the caret up to the page top
Ctrl + Shift + PgUp
Basic Editing
Move the caret up to the page bottom, selecting the text
PgDn
Basic Editing
Move the caret one Page down
Shift + PgDn
Basic Editing
Move the caret one Page down, selecting the text
PgUp
Basic Editing
Move the caret one Page up
Shift + PgUp
Basic Editing
Move the caret one Page up, selecting the text
Ctrl + Down Arrow
Basic Editing
Scroll the text one line down
Ctrl + M
Basic Editing
Scroll a line at caret to the center of the screen
Ctrl + Up Arrow
Basic Editing
Scroll the text one line up
End
Basic Editing
Move the caret to the end of line
Shift + End
Basic Editing
Move the caret to the end of line, selecting the text
Home
Basic Editing
Move the caret to the beginning of line
Shift + Home
Basic Editing
Move the caret to the beginning of line, selecting the text
Ctrl + Right Arrow
Basic Editing
Move the caret to the next word
Ctrl + Shift + Right Arrow
Basic Editing
Move the caret to the next word, selecting it
Ctrl + Left Arrow
Basic Editing
Move the caret to the previous word
Ctrl + Shift + Left Arrow
Basic Editing
Move the caret to the previous word, selecting it
Ctrl + End
Basic Editing
Move the caret to the end of text
Ctrl + Shift + End
Basic Editing
Move the caret to the end of text, selecting it
Ctrl + Home
Basic Editing
Move the caret to the beginning of text
Ctrl + Shift + Home
Basic Editing
Move the caret to the beginning of text, selecting it
Ctrl + A
Basic Editing
Select the entire text opened in the editor
Ctrl + Y
Basic Editing
Delete the line where the caret is currently located
Ctrl + Delete
Basic Editing
Delete the word starting from the current caret location up to the word end
Ctrl + Backspace
Basic Editing
Delete the word starting from the current caret location up to the word start
Insert
Basic Editing
Toggle insert/overwrite modes
Ctrl + D
Basic Editing
Duplicate selected block or the line at the caret
Ctrl + Shift + U
Basic Editing
Toggle case of the selected text block
Ctrl + ]
Basic Editing
Move the caret to the current code block end, highlighting the block limits
Ctrl + Shift + ]
Basic Editing
Move the caret to the current code block end, selecting the code beginning from the initial caret location
Ctrl + [
Basic Editing
Move the caret to the current code block start, highlighting the block limits
Ctrl + Shift + [
Basic Editing
Move the caret to the current code block start, selecting the code beginning from the initial caret location
Shift + Enter
Basic Editing
Start a new line after the current one positioning the caret in accordance with the current indentation level
Ctrl + Alt + Enter
Basic Editing
Start a new line before the current one
Ctrl + Shift + J
Basic Editing
Concatenate the selected lines into one or concatenate the line where the caret is currently located with the next line
Ctrl + Enter
Basic Editing
Split the selected line at the point where the caret is located, leaving the caret at the end of the first line
Ctrl + W
Basic Editing
Select successively increasing code blocks starting from the current caret location
Ctrl + Shift + W
Basic Editing
Remove sequentially the selection made by the action
Tab
Basic Editing
Move the selected block to the next indentation level
Shift + Tab
Basic Editing
Move the selected block to the previous indentation level
Ctrl + Alt + I
Basic Editing
Indent the current line or selected block according to the General settings
Ctrl + NumPad +
Code Folding
Expand the current collapsed fragment
Ctrl + NumPad -
Code Folding
Collapse the current folding region
Ctrl + Alt + NumPad +
Code Folding
Expand the current folded fragment and all the subordinate collapsed folding regions within that fragment
Ctrl + Alt + NumPad -
Code Folding
Collapse the current folding region and all the subordinate folding regions within it
Ctrl + Shift + NumPad +
Code Folding
Expand all collapsed fragments within the selection, or, if nothing is selected, expand all the collapsed fragments in the current file
Ctrl + Shift + NumPad -
Code Folding
Collapse all folding regions within the selection, or, if nothing is selected, collapse all the folding regions in the current file
Ctrl + NumPad 1..5
Code Folding
Expand the current fragment and all the nested fragments up to the specified level
Ctrl + Shift + NumPad 1..5
Code Folding
Expand all the collapsed fragments in the file up to the specified nesting level
Ctrl + .
Code Folding
Collapse the selected fragment and create a custom folding region for it to make it "foldable" / Expand the current fragment and remove the corresponding custom folding region to make the fragment "unfoldable"
Shift + F10
Running and Debugging
Run a program
Shift + Alt + F10
Running and Debugging
Quickly select run/debug configuration and run or edit it
Ctrl + F5
Running and Debugging
Repeat execution with the same settings, with the same tab of the Run tool window having the focus
Shift + F10
Running and Debugging
Repeat execution with the same settings, with the same tab of the editor having the focus
Shift + F9
Running and Debugging
Debug a program
Shift + Alt + F9
Running and Debugging
Quickly select run/debug configuration and debug or edit it
F8
Running and Debugging
Step to the next line in the current file See Stepping Through the Program
F7
Running and Debugging
Step to the next executed line See Stepping Through the Program
Shift + F7
Running and Debugging
Select the method to step in, if the current line contains multiple method call expressions See Choosing a Method to Step Into
Shift + F8
Running and Debugging
Step to a first executed line after returning from the current method See Stepping Through the Program
Shift + Alt + F8
Running and Debugging
Run until the next line in this method or file, skipping the methods referenced at the current execution point and ignoring breakpoints See Stepping Through the Program
Shift + Alt + F7
Running and Debugging
Steps into the method called in the current execution point even if this method is to be skipped See Stepping Through the Program
Alt + F9
Running and Debugging
Run to the line where the caret is located See Stepping Through the Program
Ctrl + Alt + F9
Running and Debugging
Run to the line where the caret is located, ignoring breakpoints See Stepping Through the Program
F9
Running and Debugging
Resume program execution
Shift + F2
Running and Debugging
Terminate a debugging session
Alt + F8
Running and Debugging
Evaluate an arbitrary expression
Ctrl + Alt + F8
Running and Debugging
Evaluate an arbitrary expression without calling Evaluate Expression dialog
Ctrl + F8
Running and Debugging
Toggle breakpoint at the current line
Ctrl + Shift + F8
Running and Debugging
View/manage all breakpoints
Ctrl + Shift + F4
General Shortcuts
Close an active tab in a tool window (for example, Find tool window)
Ctrl + F4
General Shortcuts
Close an active editor
F4
General Shortcuts
Open an editor for the selected item or items and give focus to the last opened file
Alt + O
General Shortcuts
Export contents of a tool window to a text file This feature applies to the Version Control Tool Window, Messages Tool Window, and other tool windows that provide the export button  on the window toolbar
Alt + Insert
General Shortcuts
Create a new class, file or directory See Populating Modules
Ctrl + S
General Shortcuts
Save all files and settings
Alt + Right Arrow
General Shortcuts
When several tabs are open in the editor or a view, open the next tab to the right (or first tab if the current one is the last)
Alt + Left Arrow
General Shortcuts
When several tabs are open in the editor or a view, open the next tab to the left (or last tab if the current one is the first)
Alt + Enter
General Shortcuts
Display intention actions (if any) for the code where the caret is currently located, or the selected GUI component in a form
Ctrl + Alt + Y
General Shortcuts
Detect all externally changed files and reload them from disk
Ctrl + F
Search
Initiate text search
Ctrl + R
Search
Initiate text search and replace
F3 / Shift + F3
Search
Navigate to the next/previous occurrence of a selected word in the editor
Ctrl + F3
Search
Search in the editor for the word where the caret is currently located
Ctrl + F
Search
Initiate text search
Ctrl + Shift + F
Search
Initiate search for a text string in the specified scope
Ctrl + Shift + R
Search
Initiate search and replace in the specified scope
Alt + F7
Search
Initiate search for usages of the selected symbol in the specified scope
Ctrl + F7
Search
Initiate search for usages of the selected symbol in the current file
Ctrl + Shift + F7
Search
Highlight usages of a symbol at caret
Ctrl + Alt + F7
Search
Show usages of a symbol at caret in a pop-up window Use list of found usages to jump to the desired location
Ctrl + Shift + A
Search
Find an action, bypassing menus See Finding Actions
Ctrl + Specified Number
Navigation between Bookmarks
Navigate to a numbered bookmark with the corresponding number
F11
Navigation between Bookmarks
Turn anonymous bookmark on or off
Ctrl + F11
Navigation between Bookmarks
Turn bookmark with mnemonic on or off
Shift + F11
Navigation between Bookmarks
Open Bookmarks dialog to manage existing bookmarks and navigate between them
Alt + F1
Navigation between IDE Components
Move focus from the current file, class, method or reference to a data source, to a view suggested in the Select Target pop-up menu Refer to Navigating Between IDE Components
Ctrl + NumPad -
Navigation between IDE Components
Collapse all nodes in a tree view
Ctrl + NumPad +
Navigation between IDE Components
Expand all nodes in a tree view
Ctrl + Tab
Navigation between IDE Components
Navigate between files opened in the editor, and tool windows
Alt + Number
Navigation between IDE Components
Open a tool window with the specified number
Shift + Esc
Navigation between IDE Components
Hide the currently active tool window
F12
Navigation between IDE Components
Activate the last focused tool window
Ctrl + F12
Navigation between Source Code
Display the Structure pop-up window for quick navigation through the current file
Alt + F1
Navigation between Source Code
Move focus from the current file, class, method or reference to a data source table to a view suggested in the Select Target pop-up menu See Navigating Between IDE Components
Ctrl + E
Navigation between Source Code
Show the list of recently opened files
Ctrl + Shift + E
Navigation between Source Code
Show the list of recently updated files
Ctrl + H
Navigation between Source Code
Browse hierarchy for the selected class class
Ctrl + N
Navigation between Source Code
Navigate directly to a class in project by specifying its name in a pop-up dialog box
Ctrl + Shift + N
Navigation between Source Code
Navigate directly to a file in project by specifying its name in a pop-up dialog box
Ctrl + E
Navigation between Source Code
Show the list of recently opened files
Ctrl + Shift + E
Navigation between Source Code
Show the list of recently updated files
Ctrl + G
Navigation between Source Code
Navigate to any line in the current file by specifying its number
Ctrl + B
Navigation between Source Code
Navigate to declaration of a symbol at caret
Ctrl + Alt + B
Navigation between Source Code
Navigate to implementation of the item at caret
Ctrl + Shift + B
Navigation between Source Code
Navigate to a type declaration of a symbol at caret, the symbol being a variable or a method call
Ctrl + U
Navigation between Source Code
Navigate to a super method declaration of a method under the caret
Ctrl + Shift + T
Navigation between Source Code
Navigate to a test for the class at caret, if any, or navigate from a test to a test subject
Ctrl + Alt + Home
Navigation between Source Code
Navigate between files with complicated relationships between them
Alt + Down Arrow
Navigation between Source Code
Navigate to the next method declaration in the active editor tab
Alt + Up Arrow
Navigation between Source Code
Navigate to the previous method declaration in the active editor tab
Ctrl + [
Navigation between Source Code
Navigate to the start of the current code block
Ctrl + ]
Navigation between Source Code
Navigate to the end of the current code block
Ctrl + Alt + Left Arrow
Navigation between Source Code
Undo last navigation operation
Ctrl + Alt + Right Arrow
Navigation between Source Code
Redo last undone navigation operation
Ctrl + Alt + Up Arrow
Navigation between Source Code
Navigate to a previous found item
Ctrl + Alt + Down Arrow
Navigation between Source Code
Navigate to a next found item
Ctrl + Shift + Backspace
Navigation between Source Code
Move through the most recent change points
F2
Navigation between Source Code
Navigate to the next found error/warning
Shift + F2
Navigation between Source Code
Navigate to the previous found error/warning
Shift + F6
Refactoring
Rename the selected file, class, field, method, etc and change all references to it accordingly
Ctrl + F6
Refactoring
Change the signature of the selected method and update all the corresponding method calls
F6
Refactoring
Move the selected class, package or static member to another package or class and update all the corresponding references
F5
Refactoring
Create a copy of the selected class, file or directory in the same or different directory or package
Alt + Delete
Refactoring
Delete the selected class, method or field checking its usages
Ctrl + Alt + M
Refactoring
Turn the selected code fragment into a method
Ctrl + Alt + V
Refactoring
Create a new variable and use the selected expression as its value
Ctrl + Alt + F
Refactoring
Create a new field and use the selected expression as its value
Ctrl + Alt + C
Refactoring
Create a new constant (static final field) and use the selected expression as its value
Ctrl + Alt + P
Refactoring
Turn the selected expression into a new method parameter
Ctrl + Alt + N
Refactoring
Inline the selected method or variable