1. 设置 python 解释器:File --> Settings --> Project Administrator --> Project Interpreter --> 选择 2.7 版本的解析器
2. 设置主题界面和字体:File --> Settings --> Editor --> Color Scheme --> Color Scheme Font --> 这里我们选择 Darcula 主题
3. 关闭拼写检查1:File --> Settings --> Editor --> Inspections --> Spelling (把后面的勾去掉)
关闭拼写检查2:File --> Settings --> Editor --> Inspections --> Python --> 找到 PEP 8 开头的两行 (把后面的勾去掉)
4. 设置脚本头文件:File --> Editor --> File and Code Templates --> Python Script --> 加入如下内容
#!/usr/bin/env /python
# -*- coding:utf-8 -*-
# Author:big k