SoFunction
Updated on 2024-11-12

pycharm shortcut to auto prompt for documentation issues (auto Ctrl+Q)

pycharm shortcut auto prompt documentation

When using pycharm, pressing Ctrl+Q on a class, method/function, or variable displays its description and docstring, and I remember that by default it automatically displays it when the mouse hovers over it for a second, but for some reason it doesn't do that anymore.

Re-open the method as follows:

Confirm that Power Save Mode is turned off, and then click on the file option to uncheck the "Power Save Mode" option.

Check the box in the settings Show the documentation popup checkbox

Reference Links:

/help/pycharm/#ws_viewing_inline_documentation

pycharm Commonly used shortcuts (Chinese and English comparison table)

Shortcuts to pycharm for Mac

English Explanation Chinese Explanation (computer) shortcut key note
Find any action inside the IDE Query all actions in the IDE ⇧⌘A

CREATE AND EDIT New Edit

English Explanation Chinese Explanation (computer) shortcut key note
Show intention actions

Show Intended Action ⌥ ↩
Basic / smart code completion

Intelligent Code Completion ⌃ Space / ⌃⇧ 
Space Type name completion

Intelligent Code Completion

⌃ ⌥ 
Space Complete statement

Full statement

⇧⌘ ↩
Parameter information Parameter information ⌘ P
Quick definition

Quick Definition

⌥ 

Space Quick / external documentation

Quick / External Documentation

F1 / ⇧F1
Generate code

Generate Code

⌘ N
Override / implement members Override / Realize members ⌃ O / ⌃ I
Surround with…

revolve around

⌥ ⌘T
Comment with line comment

comment with a line comment

⌘ /
Extend / shrink selection

Expand / Shrink Options

⌥ ↑ / ⌥ ↓
Context info

contextual information

⌃⇧ Q
Optimize imports

Optimized import

⌃ ⌥ O
Auto-indent lines

auto-reducing

⌃ ⌥ I
Cut / Copy / Paste

Cut / Copy / Paste

⌘ X / ⌘ C / ⌘ V
Copy document path

Copy Document Path

⇧⌘ C
Paste from clipboard history

Paste from clipboard history

⇧⌘ V
Duplicate current line or selection

Duplicates the current row or selected area

⌘ D
Move line up / down

Move Up Line / Move Down

⇧⌘ ↑ / ⇧⌘ ↓
Delete line at caret

Delete the line at the insertion symbol

⌘ DEL

Join / split line

Join / Split Line

⌃⇧ J / ⌘ ↩

Start new line

Start a new line

⇧↩

Toggle case

Switching Cases

⇧⌘ U
Expand / collapse code block

Expand/Collapse Code Blocks

⌘ + / ⌘ -

Expand / collapse all

Expand / Collapse All

⇧⌘ + / ⇧⌘ -

Save all

Save All

⌘ S

VERSION CONTROL

English Explanation Chinese Explanation (computer) shortcut key note
VCS operations popup… VCS Operation Eject ⌃ V
Commit submit (a report etc) ⌘ K
Update project Renewal projects ⌘ T
Recent changes Recent changes ⌥⇧C
Revert reduction (chemistry) ⌘ Z
Push… push sth. ⌘ K
Next / previous change Next / Previous Change ⌃ ⌥⇧ ↓ / ↑

MASTER YOUR IDE Mastering the IDE

English Explanation Chinese Explanation (computer) shortcut key note
Find action… Looking for action... ⇧⌘ A
Open a tool window Open the Tools window ⌘ Y [0-9]
Synchronize synchronization ⌥⌘ Y
Toggle full screen mode Toggle full screen mode ⌃ ⌘ F
Quick switch scheme… Fast switching program... ⌃ `
Preferences… prioritize sth. ⌘ ,
Jump to source / navigation bar Jump to source / navigation bar ↓ / ⌘ ↑
Jump to last tool window Jump to the last tool window F12
Hide active / all tool windows Hide active / all tool windows ⇧⎋ / ⇧⌘ F12
Go to next / previous editor tab Go to the next/previous editor tab ⌃ tab
Go to editor (from a tool window) Go to the editor (from the tool window)

FIND EVERYTHING

English Explanation Chinese Explanation (computer) shortcut key note
Search everywhere search everywhere Double ⇧
Find / Replace Find / Replace ⌘ F/⌘ R
Find in path / Replace in path Find in path / Replace in path ⇧⌘ F / ⇧⌘R
Next / previous occurence Next / Previous Event ⌘ G / ⇧⌘ G
Go to class Go to the specified class ⌘ O
Go to file member Go to file member ⌘ F12
Go to file / symbol Go to File / Symbol ⇧⌘O / ⌥ ⌘O

NAVIGATE FROM SYMBOLS Navigating from Symbols

English Explanation Chinese Explanation (computer) shortcut key note
Declaration herald ⌘ B
Type declaration (JavaScript only) Type declarations (JavaScript only) ⌃⇧ B
Super method super-methodology ⌘ U
Implementation(s) realize ⌥ ⌘ B
Find usages / Find usages in file Find Usage / Find Usage in a File ⌥ F7 / ⌘ F7
Highlight usages in file Highlight the usage in the document ⇧⌘ F7
Show usages Show Usage ⌥⌘ F7

REFACTOR AND CLEAN UP Refactor and Clean Up

English Explanation Chinese Explanation (computer) shortcut key
Refactor this… ⌃ T
Copy… /  Move… F5 / F6
Safe delete… ⌘ DEL
Rename… ⇧ F6
Change signature… ⌘ F6
Inline… ⌥ ⌘ N
Extract method ⌥ ⌘ M
Introduce variable  /  field Referencing a variable or field ⌥ ⌘ V / ⌥ ⌘ F
Introduce constant  /  parameter Introducing constants or parameters ⌥ ⌘ C / ⌥ ⌘ P
Reformat code Reformatting the code ⌥ ⌘ L

ANALYZE AND EXPLORE Analyze Explore

English Explanation Chinese Explanation (computer) shortcut key note
Show error description Show error description ⌘  F1
Next  /  previous highlighted error highlighting error F 2 /⇧ F2
Run inspection by name… Run the check by name... ⌥⇧⌘ I
Type / call hierarchy Type / Call Hierarchy ⌃ H / ⌃ ⌥ H

NAVIGATE IN CONTEXT Navigating in Context

English Explanation Chinese Explanation (computer) shortcut key note
Select in… Select... ⌥ F1 ⌥ F1
Recently viewed /Recent locations Recently Viewed / Recent Locations ⌘ E /⇧⌘ E
Last edit location Last Edit Position ⇧⌘⌨
Navigate back  /  forward Backward Navigation / Forward ⌘ [ / ⌘ ]
Go to previous  /  next method Go to previous/next method ⌃ ↑ / ⌃ ↓
Go to line /column… Go to Row/Column... ⌘ L
Go to code block end  /  start Go to Code Block ⌥ ⌘ ] / ⌥ ⌘ [
Add to favorites Add to Favorites ⌥⇧ F
Toggle bookmark Toggle Bookmarks F3
Toggle bookmark with mnemonic Switching bookmarks with a mnemonic ⌥ F3
Go to numbered bookmark Go to numbered bookmarks ⌃ [0-9]
Show bookmarks Show bookmarks ⌘ F3

BUILD RUN AND DEBUG Compile Run Debug

English Explanation Chinese Explanation (computer) shortcut key note
Run context configuration Running Context Configuration ⌃ ⌥  R
Run  /  debug selected configuration Run / Debug the selected configuration ⌃ ⌥ R / ⌃ ⌥ D
Run  /  debug current configuration Run / Debug Current Configuration ⌃ R / ⌃ D
Step over  /  into Step / Enter F8 / F7
Smart step into intelligent stepping ⇧ F7
Step out go out ⇧ F8
Run to cursor Run to cursor ⌥ F9
Force run to cursor Force Run to Cursor ⌥ ⌘ F9
Show execution point Show execution points ⌥ F10
Evaluate expression… Evaluating expressions... ⌥ F8
Stop  cessation ⌘ F2
Stop background processes… Stop background processes... ⇧ ⌘ F2
Resume program recovery plan ⌥ ⌘ R
Toggle line breakpoint Toggle line breaks ⌘ F8
Toggle temporary line breakpoint Toggle temporary line breaks ⌥ ⇧⌘ F8
Edit / view breakpoint Edit / View Breakpoints ⇧⌘ F8

summarize

The above is a personal experience, I hope it can give you a reference, and I hope you can support me more.