PyCharm 2018.2 raccourcis clavier

PyCharm 2018.2

Zeynel Abidin Öztürk -
20 mois
- Raccourcis
Ctrl + /

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

Ctrl + ↑   Maj + /

Comment/uncomment code with block comments.

Ctrl + Q

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

ou Alt +
Ctrl + ↑   Maj + Alt + H

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

Ctrl + P

Show parameters of the method call at the caret.

Alt + Q

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

Ctrl + F1

Show an error or warning description at the caret.

↑   Maj + F1

Open browser with the documentation for the selected item.

Ctrl + O

Override base class methods in the current class.

Ctrl + Alt + T

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

Ctrl + Espace

Code completion for any class, method or variable.

ou Alt + /
Ctrl + ↑   Maj + Espace

Code Completion filtering the lookup list basing on expected type.

Alt + /

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

Ctrl + J

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

Ctrl + Alt + J

Surround the selection with one of the templates.

⭾ Tab

In templates: move the caret to the next template variable.

↑   Maj + ⭾ Tab

In templates: move the caret to the previous template variable.

⤶ Entrée

In a lookup list: select an item

⤶ Entrée

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.

⭾ Tab

In the editor, with selection: indent selected lines.

⭾ Tab

In the editor, without selection: insert a tab symbol (or corresponding number of space characters)

⭾ Tab

In a lookup list, no code after the caret: select an item

⭾ Tab

In a lookup list, some code after the caret: select an item and substitute the code after the caret with it.

Suppr

In the editor: delete selected symbol/block

Suppr

In a usage view: exclude a selected item

Suppr

In other views: remove selected items

⬅ Retour Arrière

Delete a character to the left of the caret.

Ctrl + Z

Undo last operation.

Ctrl + ↑   Maj + Z

Redo last undone operation.

Ctrl + X

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

Ctrl + C

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

Ctrl + V

Paste from the Clipboard to the caret location.

Ctrl + ↑   Maj + V

Paste selected entry from the Clipboard to the caret location.

Move the caret one line up.

↑   Maj +

Move the caret one line up selecting the text.

Move the caret one line down.

↑   Maj +

Move the caret one line down selecting the text.

Move the caret one character to the left.

↑   Maj +

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

Move the caret one character to the right.

↑   Maj +

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

Ctrl + Pg Suiv

Move the caret down to the page bottom.

Ctrl + Maj + Pg Suiv

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

Ctrl + Pg Préc

Move the caret up to the page top.

Ctrl + Maj + Pg Préc

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

Pg Suiv

Move the caret one page down.

Maj + Pg Suiv

Move the caret one page down, selecting the text.

Pg Préc

Move the caret one page up.

Maj + Pg Préc

Move the caret one page up, selecting the text.

Ctrl +

Scroll the text one line down.

Ctrl + M

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

Ctrl +

Scroll the text one line up.

End

Move the caret to the end of line.

↑   Maj + End

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

Debut

Move the caret to the beginning of line.

↑   Maj + Debut

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

Ctrl +

Move the caret to the next word.

Ctrl + ↑   Maj +

Move the caret to the next word, selecting it.

Ctrl +

Move the caret to the previous word.

Ctrl + ↑   Maj +

Move the caret to the previous word, selecting it.

Ctrl + End

Move the caret to the end of text.

Ctrl + ↑   Maj + End

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

Ctrl + Debut

Move the caret to the beginning of text.

Ctrl + ↑   Maj + Debut

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

Ctrl + A

Select the entire text opened in the editor.

Ctrl + Y

Delete the line where the caret is currently located.

Ctrl + Suppr

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

Ctrl + ⬅ Retour Arrière

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

Inser

Toggle insert/overwrite modes.

Ctrl + D

Duplicate selected block or the line at the caret.

Ctrl + ↑   Maj + U

Toggle case of the selected text block.

Ctrl + ]

Move the caret to the current code block end, highlighting the block limits.

Ctrl + ↑   Maj + ]

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

Ctrl + [

Move the caret to the current code block start, highlighting the block limits.

Ctrl + ↑   Maj + [

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

↑   Maj + ⤶ Entrée

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

Ctrl + Alt + ⤶ Entrée

Start a new line before the current one.

Ctrl + ↑   Maj + J

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

Ctrl + ⤶ Entrée

Split the selected line at the point where the caret is located, leaving the caret at the end of the first line. This shortcut splits a line without adding a backslash

Ctrl + W

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

Ctrl + ↑   Maj + W

Remove sequentially the selection made by the action.

⭾ Tab

Move the selected block to the next indentation level.

↑   Maj + ⭾ Tab

Move the selected block to the previous indentation level.

Ctrl + Alt + I

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

Ctrl + Num +

Expand the current collapsed fragment

Ctrl + Num -

Collapse the current folding region

Ctrl + Alt + Num +

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

Ctrl + Alt + Num -

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

Ctrl + ↑   Maj + Num +

Expand all collapsed fragments within the selection, or, if nothing is selected, expand all the collapsed fragments in the current file

Ctrl + ↑   Maj + Num -

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

Ctrl + Num * puis 1

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

ou Ctrl + Num * puis 2
ou Ctrl + Num * puis 3
ou Ctrl + Num * puis 4
ou Ctrl + Num * puis 5
Ctrl + ↑   Maj + Num * puis 1

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

ou Ctrl + ↑   Maj + Num * puis 2
ou Ctrl + ↑   Maj + Num * puis 3
ou Ctrl + ↑   Maj + Num * puis 4
ou Ctrl + ↑   Maj + Num * puis 5
Ctrl + .

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"

↑   Maj + F10

Run a program.

↑   Maj + Alt + F10

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

Ctrl + F5

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

↑   Maj + F10

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

↑   Maj + F9

Debug a program.

↑   Maj + Alt + F9

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

F8

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

F7

Step to the next executed line. See Stepping Through the Program.

↑   Maj + F7

Select the method to step in, if the current line contains multiple method call expressions. See Choosing a Method to Step Into.

↑   Maj + F8

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

↑   Maj + Alt + F8

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.

↑   Maj + Alt + F7

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

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

Ctrl + Alt + F9

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

F9

Resume program execution.

↑   Maj + F2

Terminate a debugging session.

Alt + F8

Evaluate an arbitrary expression.

Ctrl + Alt + F8

Evaluate an arbitrary expression without calling Evaluate Expression dialog.

Ctrl + F8

Toggle breakpoint at the current line.

Ctrl + ↑   Maj + F8

View/manage all breakpoints.

Ctrl + ↑   Maj + F4

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

Ctrl + F4

Close an active editor.

F4

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

Échap

In the editor: close pop-up windows, terminate search, or remove highlighting.

Échap

In a tool window: return focus to the editor.

Alt + O

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

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

Ctrl + S

Save all files and settings.

Alt +

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 +

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 + ⤶ Entrée

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

Detect all externally changed files and reload them from disk.

Ctrl + ⤶ Entrée

In Tool Windows: Open an Editor tab or tabs for the selected item or items, respectively.

Ctrl + ⤶ Entrée

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

Ctrl + F

Initiate text search.

Ctrl + R

Initiate text search and replace.

F3

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

ou ↑   Maj + F3
Ctrl + F3

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

Ctrl + F

Initiate text search.

Ctrl + ↑   Maj + F

Initiate search for a text string in the specified scope.

Ctrl + ↑   Maj + R

Initiate search and replace in the specified scope.

Alt + F7

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

Ctrl + F7

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

Ctrl + ↑   Maj + F7

Highlight usages of a symbol at caret.

Ctrl + Alt + F7

Show usages of a symbol at caret in a pop-up window. Use list of found usages to jump to the desired location

Ctrl + ↑   Maj + A

Find an action, bypassing menus. See Finding Actions.

Ctrl + 1 - 9

Navigate to a numbered bookmark with the corresponding number.

F11

Turn anonymous bookmark on or off.

Ctrl + F11

Turn bookmark with mnemonic on or off.

↑   Maj + F11

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

  Views and windows
Alt + F1

Move focus from the current file, class, method or reference to a data source, to a view suggested in the Select Targetpop-up menu. Refer to Navigating Between IDE Components.

Ctrl + Num -

Collapse all nodes in a tree view.

Ctrl + Num +

Expand all nodes in a tree view.

Ctrl + ⭾ Tab

Navigate between files opened in the editor, and tool windows.

Alt + 1 - 9

Open a tool window with the specified number.

↑   Maj + Échap

Hide the currently active tool window.

F12

Activate the last focused tool window.

  Differences
F7

Navigate to the next difference in view.

↑   Maj + F7

Navigate to the previous difference in view.

Ctrl + F12

Display the Structure pop-up window for quick navigation through the current file.

Alt + F1

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

Show the list of recently opened files.

Ctrl + ↑   Maj + E

Show the list of recently updated files.

Ctrl + H

Browse hierarchy for the selected class class.

Ctrl + N

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

Ctrl + ↑   Maj + N

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

Ctrl + E

Show the list of recently opened files.

Ctrl + ↑   Maj + E

Show the list of recently updated files .

Ctrl + G

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

Ctrl + B

Navigate to declaration of a symbol at caret.

Ctrl + Alt + B

Navigate to implementation of the item at caret.

Ctrl + ↑   Maj + B

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

Ctrl + U

Navigate to a super method declaration of a method under the caret.

Ctrl + ↑   Maj + T

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

Ctrl + Alt + Debut

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

Alt +

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

Alt +

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

Ctrl + [

Navigate to the start of the current code block.

Ctrl + ]

Navigate to the end of the current code block.

Ctrl + Alt +

Undo last navigation operation.

Ctrl + Alt +

Redo last undone navigation operation.

Ctrl + Alt +

Navigate to a previous found item.

Ctrl + Alt +

Navigate to a next found item.

Ctrl + ↑   Maj + ⬅ Retour Arrière

Move through the most recent change points.

F2

Navigate to the next found error/warning.

↑   Maj + F2

Navigate to the previous found error/warning.

↑   Maj + F6

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

Ctrl + F6

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

F6

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

F5

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

Alt + Suppr

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

Ctrl + Alt + M

Turn the selected code fragment into a method.

Ctrl + Alt + V

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

Ctrl + Alt + F

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

Ctrl + Alt + C

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

Ctrl + Alt + P

Turn the selected expression into a new method parameter.

Ctrl + Alt + N

Inline the selected method or variable.

  Source: PyCharm help

Partager cette page sur:

Informations sur le programme

Nom du programme: PyCharm 2018.2 PyCharm 2018.2 (Outils de développement)

Page Web: jetbrains.com/pycharm

Dernière mise à jour: 11 nov. 2019

Nombre de raccourcis: 201

Comment facile d'appuyer sur les raccourcis: 76%

Plateforme détectée: Windows ou Linux (Pas macOS)

Programmes similaires



Publicité

Abonnez-vous!

Votre email reste confidentiel et nous ñ'envoyons pas de spam.