1 常用设置
1.1 添加代码头
在File > Settings > Editor > File and Code Templates > Python Script 中输入如下代码。
# -*- coding:utf-8 -*-
'''
Author: ${USER}
Date:${YEAR}-${MONTH}-${DAY}
File: ${NAME}.py
'''
1.2 滑动字体大小设置
File > Settings > Editor > General > 勾选“Change font size with Ctrl+Mouse Wheel in”。
1.3 给选中的区域添加引号
File > Settings > Editor > Smart Keys > 勾选“Surround selection on typing quote or brace” > 选中代码点击