When editing a state:
CTRL + [, CTRL +] indent code
Alt+3 alt+4 Comment, uncomment the line of code
alt+5 alt+6 Toggle Indent mode space <=>tab
alt+/word completion, as long as the text appears, you can help you automatically complete. Press multiple times to cycle through the selection
Alt+m Open the module code, first select the module, and then press this shortcut, will help you open the module of the PY source for browsing
Alt+c open the class browser to facilitate switching between the various method bodies in the source file
ALT+FP Open Path Browser, easy to select Import package for viewing and browsing
F1 Open python document, more convenient than editplus, do not set up, hehe.
It is worth noting that ctrl+space this shortcut key and the Windows Input Method switch hotkey conflict, it does not matter, when you really need to prompt to stop, there will still be a code hint. Other commonly used shortcut keys just follow the habit of good.
During the editing process, press F5 to enter Shell debugging. There are also shortcut keys in the shell, which are also convenient
ALT+DG to the error line first, press this shortcut to quickly navigate to the wrong location
Alt+ds directly show the error history, find the source, convenient AH
Alt+da if every time to press, is not convenient, press this, after the mistakes are history
ALT+DD Open the Debugging window, enter the single-step debugging, convenient.
Ctrl+f6 to empty the previous import record, and so on, restart the shell
It's also worth noting that
Alt+n Alt+p can find previously entered commands to complement the current command
CTRL + ARROW keys to get enhanced function, try it (4490)
Python shortcut keys List