安装的扩展有:
安装的包如下:
django==1.8.2
pylint==1.7.2
pylint-django==0.7.2
pylint-plugin-utils==0.2.6
autopep8==1.3.2
settings配置如下,pylint对django的适配不是很好,所以需要在settings加入"python.linting.pylintArgs"的配置:
{
"workbench.iconTheme": "vscode-icons",
"python.linting.pylintArgs": [
"--load-plugins", "pylint_django"
],
"python.formatting.autopep8Path": "autopep8",
"editor.fontSize": 16,
"workbench.colorTheme": "One Dark Pro",
"python.pythonPath": "/home/jonliu/env3/bin/python3.5"
}
其中python.pythonPath是虚拟环境所使用的python路径