PyCharm 2018.2

Navigation in source code

Navigate to the next method declaration in the active editor tab.

Alt +

All hotkeys for PyCharm 2018.2

Advanced editing
Comment/uncomment current line or selected block with line comments.

Ctrl + /

Advanced editing
Comment/uncomment code with block comments.

Ctrl + ↑   Shift + /

Advanced editing
Show a pop-up window with the documentation for the symbol at the caret.

Ctrl + Q

Advanced editing
Show a pop-up window with the documentation for the symbol at the caret.

Alt + Mouse right click

Advanced editing
Show the Highlighting level pop-up window to configure highlighting in the current file.

Ctrl + ↑   Shift + Alt + H

Advanced editing
Show parameters of the method call at the caret.

Ctrl + P

Advanced editing
Show the current method or class declaration when it is not visible.

Alt + Q

Advanced editing
Show an error or warning description at the caret.

Ctrl + F1

Advanced editing
Open browser with the documentation for the selected item.

↑   Shift + F1

Advanced editing
Override base class methods in the current class.

Ctrl + O

Advanced editing
Surround selected code fragment with if, do, tags or other constructs.

Ctrl + Alt + T

Advanced editing
Code completion for any class, method or variable.

Ctrl + Space

Advanced editing
Goes through the names of classes, methods, keywords and variables in the current visibility scope.

Alt + /

Advanced editing
Code Completion filtering the lookup list basing on expected type.

Ctrl + ↑   Shift + Space

Advanced editing
Show a pop-up list of starting with a specified prefix.

Ctrl + J

Advanced editing
Surround the selection with one of the templates.

Ctrl + Alt + J

Basic editing
Move the selected block to the next indentation level.

⭾ Tab

Basic editing
Move the selected block to the previous indentation level.

↑   Shift + ⭾ Tab

Basic editing
In the editor: enter a new line and set the caret at its beginning. On pressing Enter, PyCharm adds backslash character to avoid syntactical errors.

⤶ Enter

Basic editing
In other views: remove selected items

Del

Basic editing
Delete a character to the left of the caret.

⬅ Backspace

Basic editing
Undo last operation.

Ctrl + Z

Basic editing
Redo last undone operation.

Ctrl + ↑   Shift + Z

Basic editing
Cut a current line or a selected code block to the Clipboard.

Ctrl + X

Basic editing
Copy a current line or a selected code block to the Clipboard.

Ctrl + C

Basic editing
Paste from the Clipboard to the caret location.

Ctrl + V

Basic editing
Paste selected entry from the Clipboard to the caret location.

Ctrl + ↑   Shift + V

Basic editing
Move the caret one line up.

Basic editing
Move the caret one line up selecting the text.

↑   Shift +

Basic editing
Move the caret one line down.

Basic editing
Move the caret one line down selecting the text.

↑   Shift +

Basic editing
Move the caret one character to the left.

Basic editing
Move the caret one character to the left selecting the text.

↑   Shift +

Basic editing
Move the caret one character to the right.

Basic editing
Move the caret one character to the right selecting the text.

↑   Shift +

Basic editing
Move the caret down to the page bottom.

Ctrl + Page Down

Basic editing
Move the caret down to the page bottom, selecting the text.

Ctrl + Shift + Page Down

Basic editing
Move the caret up to the page top.

Ctrl + Page Up

Basic editing
Move the caret up to the page bottom, selecting the text.

Ctrl + Shift + Page Up

Basic editing
Move the caret one page down.

Page Down

Basic editing
Move the caret one page down, selecting the text.

Shift + Page Down

Basic editing
Move the caret one page up.

Page Up

Basic editing
Move the caret one page up, selecting the text.

Shift + Page Up

Basic editing
Scroll the text one line down.

Ctrl +

Basic editing
Scroll a line at caret to the center of the screen.

Ctrl + M

Basic editing
Scroll the text one line up.

Ctrl +

Basic editing
Move the caret to the end of line.

End

Basic editing
Move the caret to the end of line, selecting the text.

↑   Shift + End

Basic editing
Move the caret to the beginning of line.

Home

Basic editing
Move the caret to the beginning of line, selecting the text.

↑   Shift + Home

Basic editing
Move the caret to the next word.

Ctrl +

Basic editing
Move the caret to the next word, selecting it.

Ctrl + ↑   Shift +

Basic editing
Move the caret to the previous word.

Ctrl +

Basic editing
Move the caret to the previous word, selecting it.

Ctrl + ↑   Shift +

Basic editing
Move the caret to the end of text.

Ctrl + End

Basic editing
Move the caret to the end of text, selecting it.

Ctrl + ↑   Shift + End

Basic editing
Move the caret to the beginning of text.

Ctrl + Home

Basic editing
Move the caret to the beginning of text, selecting it.

Ctrl + ↑   Shift + Home

Basic editing
Select the entire text opened in the editor.

Ctrl + A

Basic editing
Delete the line where the caret is currently located.

Ctrl + Y

Basic editing
Delete the word starting from the current caret location up to the word end.

Ctrl + Del

Basic editing
Delete the word starting from the current caret location up to the word start.

Ctrl + ⬅ Backspace

Basic editing
Toggle insert/overwrite modes.

Insert

Basic editing
Duplicate selected block or the line at the caret.

Ctrl + D

Basic editing
Toggle case of the selected text block.

Ctrl + ↑   Shift + U

Navigation in source code
Navigate to the end of the current code block.

Ctrl + ]

Basic editing
Move the caret to the current code block end, selecting the code beginning from the initial caret location.

Ctrl + ↑   Shift + ]

Navigation in source code
Navigate to the start of the current code block.

Ctrl + [

Basic editing
Move the caret to the current code block start, selecting the code beginning from the initial caret location.

Ctrl + ↑   Shift + [

Basic editing
Start a new line after the current one positioning the caret in accordance with the current indentation level.

↑   Shift + ⤶ Enter

Basic editing
Start a new line before the current one.

Ctrl + Alt + ⤶ Enter

Basic editing
Concatenate the selected lines into one or concatenate the line where the caret is currently located with the next line.

Ctrl + ↑   Shift + J

General
In the editor: Intelligently split the current line into 2 lines, shifting quotes, etc. as necessary.

Ctrl + ⤶ Enter

Basic editing
Select successively increasing code blocks starting from the current caret location.

Ctrl + W

Basic editing
Remove sequentially the selection made by the action.

Ctrl + ↑   Shift + W

Basic editing
Indent the current line or selected block according to the Code Style settings.

Ctrl + Alt + I

Navigation Between IDE Components
Expand all nodes in a tree view.

Ctrl + Num +

Navigation Between IDE Components
Collapse all nodes in a tree view.

Ctrl + Num -

Code folding
Expand the current folded fragment and all the subordinate collapsed folding regions within that fragment

Ctrl + Alt + Num +

Code folding
Collapse the current folding region and all the subordinate folding regions within it

Ctrl + Alt + Num -

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 + Num +

Code folding
Collapse all folding regions within the selection, or, if nothing is selected, collapse all the folding regions in the current file

Ctrl + ↑   Shift + Num -

Code folding
Expand the current fragment and all the nested fragments up to the specified level

Ctrl + Num * then 1

Code folding
Expand the current fragment and all the nested fragments up to the specified level

Ctrl + Num * then 2

Code folding
Expand the current fragment and all the nested fragments up to the specified level

Ctrl + Num * then 3

Code folding
Expand the current fragment and all the nested fragments up to the specified level

Ctrl + Num * then 4

Code folding
Expand the current fragment and all the nested fragments up to the specified level

Ctrl + Num * then 5

Code folding
Expand all the collapsed fragments in the file up to the specified nesting level

Ctrl + ↑   Shift + Num * then 1

Code folding
Expand all the collapsed fragments in the file up to the specified nesting level

Ctrl + ↑   Shift + Num * then 2

Code folding
Expand all the collapsed fragments in the file up to the specified nesting level

Ctrl + ↑   Shift + Num * then 3

Code folding
Expand all the collapsed fragments in the file up to the specified nesting level

Ctrl + ↑   Shift + Num * then 4

Code folding
Expand all the collapsed fragments in the file up to the specified nesting level

Ctrl + ↑   Shift + Num * then 5

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"

Ctrl + .

Running and debugging
Repeat execution with the same settings, with the same tab of the editor having the focus.

↑   Shift + F10

Running and debugging
Quickly select run/debug configuration and run or edit it.

↑   Shift + Alt + F10

Running and debugging
Repeat execution with the same settings, with the same tab of the Run tool window having the focus.

Ctrl + F5

Running and debugging
Debug a program.

↑   Shift + F9

Running and debugging
Quickly select run/debug configuration and debug or edit it.

↑   Shift + Alt + F9

Running and debugging
Step to the next line in the current file. See Stepping Through the Program.

F8

Navigation Between IDE Components
Navigate to the next difference in view.

F7

Navigation Between IDE Components
Navigate to the previous difference in view.

↑   Shift + F7

Running and debugging
Step to a first executed line after returning from the current method. See Stepping Through the Program.

↑   Shift + 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 + F8

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.

↑   Shift + Alt + F7

Running and debugging
Run to the line where the caret is located. See Stepping Through the Program.

Alt + F9

Running and debugging
Run to the line where the caret is located, ignoring breakpoints. See Stepping Through the Program.

Ctrl + Alt + F9

Running and debugging
Resume program execution.

F9

Navigation in source code
Navigate to the previous found error/warning.

↑   Shift + F2

Running and debugging
Evaluate an arbitrary expression.

Alt + F8

Running and debugging
Evaluate an arbitrary expression without calling Evaluate Expression dialog.

Ctrl + Alt + F8

Running and debugging
Toggle breakpoint at the current line.

Ctrl + F8

Running and debugging
View/manage all breakpoints.

Ctrl + ↑   Shift + F8

General
Close an active tab in a tool window (for example, Find tool window).

Ctrl + ↑   Shift + F4

General
Close an active editor.

Ctrl + F4

General
Open an editor for the selected item or items and give focus to the last opened file.

F4

General
In a tool window: return focus to the editor.

Esc

General
Export contents of a tool window to a text file. This feature applies to the Version Control Tool Window, Messages Tool Window, and the other tool windows that provide the export button icons toolbarDecorator export svg on the window toolbar.

Alt + O

General
Create a new class, file or directory. See Populating Modules.

Alt + Insert

General
Save all files and settings.

Ctrl + S

General
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 +

General
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 +

General
Display intention actions (if any) for the code where the caret is currently located, or the selected GUI component in a form.

Alt + ⤶ Enter

General
Detect all externally changed files and reload them from disk.

Ctrl + Alt + Y

Search
Initiate text search.

Ctrl + F

Search
Initiate text search and replace.

Ctrl + R

Search
Navigate to the next/previous occurrence of a selected word in the editor.

F3

Search
Navigate to the next/previous occurrence of a selected word in the editor.

↑   Shift + F3

Search
Search in the editor for the word where the caret is currently located.

Ctrl + F3

Search
Initiate search for a text string in the specified scope.

Ctrl + ↑   Shift + F

Search
Initiate search and replace in the specified scope.

Ctrl + ↑   Shift + R

Search
Initiate search for usages of the selected symbol in the specified scope.

Alt + F7

Search
Initiate search for usages of the selected symbol in the current file.

Ctrl + F7

Search
Highlight usages of a symbol at caret.

Ctrl + ↑   Shift + 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 + Alt + F7

Search
Find an action, bypassing menus. See Finding Actions.

Ctrl + ↑   Shift + A

Navigation between bookmarks
Navigate to a numbered bookmark with the corresponding number.

Ctrl + 1 - 9

Navigation between bookmarks
Turn anonymous bookmark on or off.

F11

Navigation between bookmarks
Turn bookmark with mnemonic on or off.

Ctrl + F11

Navigation between bookmarks
Open Bookmarks dialog to manage existing bookmarks and navigate between them.

↑   Shift + F11

Navigation in 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.

Alt + F1

Navigation Between IDE Components
Navigate between files opened in the editor, and tool windows.

Ctrl + ⭾ Tab

Navigation Between IDE Components
Open a tool window with the specified number.

Alt + 1 - 9

Navigation Between IDE Components
Hide the currently active tool window.

↑   Shift + Esc

Navigation Between IDE Components
Activate the last focused tool window.

F12

Navigation in source code
Display the Structure pop-up window for quick navigation through the current file.

Ctrl + F12

Navigation in source code
Show the list of recently opened files.

Ctrl + E

Navigation in source code
Show the list of recently updated files .

Ctrl + ↑   Shift + E

Navigation in source code
Browse hierarchy for the selected class class.

Ctrl + H

Navigation in source code
Navigate directly to a class in project by specifying its name in a pop-up dialog box.

Ctrl + N

Navigation in source code
Navigate directly to a file in project by specifying its name in a pop-up dialog box.

Ctrl + ↑   Shift + N

Navigation in source code
Navigate to any line in the current file by specifying its number.

Ctrl + G

Navigation in source code
Navigate to declaration of a symbol at caret.

Ctrl + B

Navigation in source code
Navigate to implementation of the item at caret.

Ctrl + Alt + B

Navigation in source code
Navigate to a type declaration of a symbol at caret, the symbol being a variable or a method call.

Ctrl + ↑   Shift + B

Navigation in source code
Navigate to a super method declaration of a method under the caret.

Ctrl + U

Navigation in source code
Navigate to a test for the class at caret, if any, or navigate from a test to a test subject.

Ctrl + ↑   Shift + T

Navigation in source code
Navigate between files with complicated relationships between them. For example, use this shortcut to navigate between views and templates

Ctrl + Alt + Home

Navigation in source code
Navigate to the next method declaration in the active editor tab.

Alt +

Navigation in source code
Navigate to the previous method declaration in the active editor tab.

Alt +

Navigation in source code
Undo last navigation operation.

Ctrl + Alt +

Navigation in source code
Redo last undone navigation operation.

Ctrl + Alt +

Navigation in source code
Navigate to a previous found item.

Ctrl + Alt +

Navigation in source code
Navigate to a next found item.

Ctrl + Alt +

Navigation in source code
Move through the most recent change points.

Ctrl + ↑   Shift + ⬅ Backspace

Navigation in source code
Navigate to the next found error/warning.

F2

Refactoring
Rename the selected file, class, field, method, etc. and change all references to it accordingly.

↑   Shift + F6

Refactoring
Change the signature of the selected method and update all the corresponding method calls.

Ctrl + F6

Refactoring
Move the selected class, package or static member to another package or class and update all the corresponding references.

F6

Refactoring
Create a copy of the selected class, file or directory in the same or different directory or package.

F5

Refactoring
Delete the selected class, method or field checking its usages.

Alt + Del

Refactoring
Turn the selected code fragment into a method.

Ctrl + Alt + M

Refactoring
Create a new variable and use the selected expression as its value.

Ctrl + Alt + V

Refactoring
Create a new field and use the selected expression as its value.

Ctrl + Alt + F

Refactoring
Create a new constant (static final field) and use the selected expression as its value.

Ctrl + Alt + C

Refactoring
Turn the selected expression into a new method parameter.

Ctrl + Alt + P

Refactoring
Inline the selected method or variable.

Ctrl + Alt + N

Similar combinations for other applications


Visual Assist
Move to next scope
Text editor

Alt +


mpv
Add video pan-y -0.1
Move video rectangle

Alt +


Affinity Photo
Increase Paragraph Leading
Text shortcuts

Alt +


Banner 9 (Windows, Mac)
Expand/Collapse a Drop-down Field
Mac shortcuts

Alt +


GeoGebra
x100 multiplier
Mac desktop

Alt +


JS Bin
Decrement number by 0.1
HTML & CSS panel

Alt +


Nier: Automata
Use items
Genel

Alt +


Winamp
Move selected files down
Playlist control shortcuts

Alt +


Ace Editor
Move lines down
Line operations

Alt +


QuickBooks Desktop
Opens the calendar for date selection (the small date calendar, not the “Calendar” feature)
Date Shortcuts

Alt +


Shotcut (Mac)
Open next item
Playlist

Alt +


Telegram
Move to next chat
General

Alt +


Shotcut
Open next item
Playlist

Alt +


JAWS
Open Combo Box
Working with dialog boxes

Alt +


Quicken 2018
Open the calendar in the Date field; open a Payee, Tag, or Category window; or open the calculator in the Charge or Payment field
Register and Write Checks

Alt +


Aegisub
Move the selected lines down one row
Default

Alt +


SharePoint
Move to different options in a drop down list, such as the Search Scope menu next to the Search box at the top of some pages.
All pages

Alt +


Atom (Windows)
native!
All shortcuts

Alt +


1Password
Move the item detail down.
1Password application

Alt +


Nuke
Version down the selected clip
Project / tags / versions bin

Alt +


CorelDRAW Graphics Suite 2018
Pan Down
General

Alt +


PDF-XChange Editor
Move the selected bookmark(s) down.
General

Alt +


gedit
Move the selected line down one line
Editing files

Alt +


Chromebook and Chrome OS
Page down
Page and web browser

Alt +


Microsoft FrontPage
Open a selected drop-down list
Access and use dialog boxes

Alt +


AWS Cloud9 IDE (Windows)
Move Lines Down
Code Manipulation

Alt +


Comodo IceDragon
arrow  (When Search bar is active) Select or Manage Search Engines
Search Options

Alt +


Adobe Premiere Pro (Windows)
Decrease Leading by One Unit
Titler

Alt +


GIMP
Down-Folder
Dialogs

Alt +


Microsoft PowerPoint (Slideshows)
Decrease the sound volume
Control video and other media during a presentation

Alt +


Microsoft Visual Studio 2017 (All shortcuts)
Arrow  GraphView.ToptoBottom
XML Schema Designer

Alt +


Brackets
Next Match
General

Alt +


LibreOffice Base
Opens the combo box
Control properties

Alt +


PSPad
Next Bookmark
Bookmark

Alt +


Mp3tag
Change order of files in list of files
General

Alt +


Zim
Go one page down in the page hierarchy
General

Alt +


Ardour
Select next track/bus
Selecting

Alt +


LibreOffice
Opens the list of the control field currently selected in a dialog. These shortcut keys apply not only to combo boxes but also to icon buttons with pop-up menus.Close an opened list by pressing the Escape key.
Controlling dialogs

Alt +


LibreOffice Calc
Increases the height of current row (only in OpenOffice.org legacy compatibility mode)
Function keys

Alt +


Android
Jump to bottom of inbox
Gmail

Alt +


Multi Commander
Show History
Core shortcuts

Alt +


Guitar Pro
Shift down
Note - General

Alt +


NewsBin Pro
Open drop-down box on the focus
Standard Windows keyboard navigation

Alt +


Freemind
Zoom in
Node navigation commands

Alt +


REAPER
View: Scroll view down
Section: MIDI Inline Editor

Alt +


WinMerge
Go to next difference
Difference navigation and merging (normal mode)

Alt +


FileZilla
Transfer the currently selected item to an item of the same name in the other pane
General

Alt +


ACDSee
Zooms the image to fit the height within View mode window. Does not enlarge, only reduces
General

Alt +


ACDSee Free
Zooms the image to fit the height within the ACDSee Free window. Does not enlarge, only reduces
General

Alt +


Microsoft Excel 2016
Opens a selected drop-down list
Other useful shortcut keys

Alt +


Microsoft Access 2016
Open a combo box
Using a combo or list box

Alt +


Slack
Next channel or DM
Navigation

Alt +


NVDA Screen Reader
Open combo box
Forms

Alt +


Microsoft Internet Explorer 11
Move selected item down in the Favorites list (in the Organize Favorites dialog box)
Favorites, history and feeds

Alt +


Firefox Quantum
View menu to switch, add or manage search engines
Search

Alt +


Outlook 2016 and Outlook 2013
Go to the same day in the next week
Date Navigator

Alt +


SQL Server Management Studio (SSMS)
Drop-down for filtering in grid
Activity Monitor

Alt +


Narrator
Move to next or previous heading
Scan mode keyboard commands

Alt +


Total Commander
Open list of visited directories
Navigation

Alt +


Microsoft OneNote
Go to the next note container
Work with pages and Quick Notes

Alt +


Opera
Scroll down in message body (even if focus on message list)
E-mail keys: Navigation

Alt +