In pycharm you have ctrl-q (or ctrl-j on a mac) for a quick-doc of the function under the cursor.
Answer from fricke on Stack OverflowJetBrains
jetbrains.com › help › pycharm › mastering-keyboard-shortcuts.html
PyCharm keyboard shortcuts | PyCharm Documentation
September 11, 2025 - You can modify a copy of any predefined keymap to assign your own shortcuts for commands that you use frequently. If you have a customized keymap that you are used to, you can transfer it to your installation. If your keymap stopped working after an update, it is likely that the keymap is not available by default in the new version of PyCharm.
JetBrains
jetbrains.com › help › pycharm › documentation-tool-window.html
Documentation tool window | PyCharm Documentation
By default, PyCharm shows Quick Documentation in a popup; to view it in the tool window, click in the popup and choose Open in Documentation Tool Window or press Ctrl+Q twice.
JetBrains
jetbrains.com › help › pycharm › inline-documentation.html
Viewing Inline Documentation | PyCharm Documentation
March 6, 2026 - PyCharm can show documentation automatically only when you invoke completion explicitly with Ctrl+Space.
JetBrains
jetbrains.com › help › pycharm › configuring-keyboard-and-mouse-shortcuts.html
Configure keyboard shortcuts | PyCharm Documentation
September 10, 2025 - If you know the shortcut of an action, click and press the key combination in the Find Shortcut dialog. When consulting this page and other pages in PyCharm documentation, you can see keyboard shortcuts for the keymap that you use in the IDE — choose it using the selector at the top of a page.
JetBrains
jetbrains.com › help › pycharm › creating-documentation-comments.html
Create documentation comments | PyCharm Documentation
January 21, 2026 - Place the caret after the declaration of a function you want to document. Type opening triple quotes, and press Enter, or Space. ... Generation of docstrings on pressing Space after typing opening triple quotes only works when the checkbox Insert pair quote is cleared in the page Smart Keys of the editor settings . If you rename a parameter of a function, PyCharm will correspondingly update the tag in documentation comment.
JetBrains
jetbrains.com › help › pycharm › viewing-reference-information.html
Code reference information | PyCharm Documentation
1 month ago - This section describes how to see definitions of symbols, display documentation references, and use the view parameter information feature. The Parameter Info popup shows the names of parameters in method and function calls. PyCharm automatically shows a popup with all available method signatures within 1 second (1000 milliseconds) after you type an opening bracket in the editor, or select a method from the suggestion list.
JetBrains
jetbrains.com › help › pycharm › working-with-source-code.html
Work with source code | PyCharm Documentation
PyCharm moves the caret to the previous line. To duplicate a line, press Ctrl+D. To sort lines alphabetically in the whole file or in a code selection, go to Edit | Sort Lines or Edit | Reverse Lines. These actions might be helpful when you work with property files, data sets, text files, log files, and so on. If you need to assign shortcuts to those actions, refer to Configure keyboard shortcuts for more information.
JetBrains
jetbrains.com › help › pycharm › using-code-editor.html
Editor basics | PyCharm Documentation
1 month ago - Use the same shortcut Ctrl+` to undo your changes. You can adjust the color scheme settings, including the High contrast color scheme for people with eyesight deficiency, in Settings | Editor | Color Scheme. To adjust the keymap settings, go to Settings | Keymap. Press Alt+Home. When you work with code in the editor, PyCharm displays code analysis results, that include errors and warnings, on the scrollbar.
JetBrains
jetbrains.com › help › pycharm › viewing-definition.html
Definition and type definition | PyCharm Documentation
February 27, 2026 - Alternatively, with the Ctrl key pressed, hover over any symbol. PyCharm displays the symbol as a link and shows its definition in a tooltip.
JetBrains
jetbrains.com › help › pycharm › using-docstrings-to-specify-types.html
Specify types with docstrings | PyCharm Documentation
September 1, 2025 - PyCharm provides an intention action that makes it possible to collect type information at runtime, and define type specifications. However, it is quite possible to specify the types of parameters manually, without the debugger. Both cases are explored in the section Examples. Press Ctrl+Alt+S and go to Editor | General | Smart Keys | Python. Select the Insert type placeholders in the documentation comment stub checkbox.
JetBrains
jetbrains.com › help › pycharm › navigating-through-the-source-code.html
Source code navigation | PyCharm Documentation
1 month ago - Learn how to navigate through the source code with PyCharm: go to implementation or declaration, see file path, breadcrumbs, and more.
JetBrains
jetbrains.com › help › pycharm › enabling-creation-of-documentation-comments.html
Manage documentation comments | PyCharm Documentation
January 21, 2026 - Then, expand the Smart Keys node and select Python. Use the Insert type placeholders in the documentation comment stub option as required. If this checkbox is selected, PyCharm generates a documentation comment stub.
JetBrains
jetbrains.com › help › pycharm › documenting-source-code.html
Document source code | PyCharm Documentation
January 20, 2026 - Documentation comments can be created in accordance with the syntax, selected in the Python Integrated Tools page of the project settings (Ctrl+Alt+S). If this feature applies to a function, PyCharm generates tags, depending on the selected docstring format.
JetBrains
jetbrains.com › help › pycharm › tool-windows.html
Tool windows | PyCharm Documentation
3 weeks ago - Use the corresponding shortcut, for example, Alt+1 to open the Project tool window.
JetBrains
jetbrains.com › help › pycharm › keymap-reference.html
Keymap reference | PyCharm Documentation
February 11, 2024 - When consulting this page and other pages in PyCharm documentation, you can see keyboard shortcuts for the keymap that you use in the IDE — choose it using the selector at the top of a page.
W3Schools
w3schools.io › pycharm-comments
Pycharm How to write a single or block or documentation comments for Python - w3schools
pycharm IDE Editor tutorials & Howto examples How to write a single or block or documentation comments for python. Comments in Python start with # for single line starting. One way, Manually you can type it. The second way is using the shortcut key.