PyCharm knowledge consolidation

PyCharmIs a Python integrated development environment (IDE), with a set that can help users to improve their efficiency when using the Python language development tools, such as debugging, syntax highlighting, Project management, code branches, IntelliSense, auto-complete, unit testing, version control. In addition, the IDE provides some advanced features, support for professional Web development under the Django framework.

1. Install

2. Common Grammar

2.1 Keyboard Shortcuts

Ctrl + Enter: new row below, but without moving the cursor;

Shift + Enter: under the new line and moved to the new trekking head;

Ctrl + /: Comment (uncomment) the selected line;

Ctrl + Alt + L: formatting code (and hot key lock conflict QQ, QQ hotkey is closed);

Ctrl + Shift + +: expand all code blocks;

Ctrl + Shift + -: all code blocks contraction;

Ctrl + Alt + I: automatic indent;

Alt + Enter: optimized code, automatic guide message packet;

Ctrl + Shift + F: Advanced Find;

Alt + Shift + Q: update code to a remote server;

Ctrl + N: Find the names of all the classes;

Ctrl + Shift + N: Find any files in the project;

Published 66 original articles · won praise 101 · views 30000 +

Guess you like

Origin blog.csdn.net/u010705932/article/details/104993630