1 Restore default layout
当我们使用Pycharm编程代码时,会遇到手滑不小心将Pycharm的界面布局给打乱,如何恢复默认布局
1.1 Directly click file→Manage IDE Settings→Restore Default Settings (as shown in the figure below):
1.2 Click Restore and Restart directly, and then Pycharm will automatically restart. The interface after the restart will be the original interface.
2 Change the theme
2.1 In the upper right corner of PyCharm, click "Gear, then click: "theme"
2.2 Choose a topic
3 Configure font size
3.1 In the upper right corner of PyCharm, click “Gear”, then click: settings
3.2 editor --》fond sets the font size
4 Shortcut keys to set font size (enlarge and reduce)
4.1 In the upper right corner of PyCharm, click “Gear”, then click: settings
4.2 Enter incr in the search box
4.3 Right click –> Add mouse shortcut key
4.4 Press ctrl+mouse scroll wheel upward, and the font amplification shortcut key is set.
4.5 Font reduction, search input decre
4.6 Reduce font size, right-click to add mouse shortcuts
4.7 Press ctrl+mouse scroll down, the font reduction shortcut key is set
5 Install Chinese plug-in
5.1 In the upper right corner of PyCharm, click "Gear", then click: settings
5.2 Input chinese
6 Translation software plug-ins
6.1 In the upper right corner of PyCharm, click “Gear”, then click: settings
6.2 Enter search Translation
6.3 Click to agree
7 Settings to add python interpreter
8 commonly used shortcut keys
ctrl+alt+s: 打开软件设置
ctrl+d: 复制当前行代码
shift+alt+上\下: 将当前行代码上移或下移
crtl+shift+f10: 运行当前代码文件
shift+f6: 重命名文件
ctrl+a: 全选
Ctrl + Alt + I:自动缩进
ctrl+c\v\x: 复制、粘贴、剪切
ctrl+f:搜索