Visual Studio代码-没有可用的代码操作

时间:2019-01-08 17:38:54

标签: visual-studio-code

我想使用导入缺少的方法,模块等功能。但是,快速修复(ctrl或cmd +。)在JS或Python项目中都找不到任何代码动作。灯泡没有出现。 enter image description here

我的用户设置:

{
"workbench.activityBar.visible": true,
"workbench.statusBar.visible": true,
"window.zoomLevel": 0,
"workbench.iconTheme": "eq-material-theme-icons",
"materialTheme.cache.workbench.settings": {
    "themeColours": "Default",
    "accentPrevious": "Graphite"
},
"workbench.colorCustomizations": {},
"workbench.colorTheme": "Material Theme",
"explorer.confirmDragAndDrop": false,
"python.linting.pylintPath": "/usr/local/bin/pylint",
"python.linting.flake8Path": "/usr/local/bin/flake8",
"editor.renderControlCharacters": false,
"workbench.sideBar.location": "left",
}

工作区设置:

{
"python.linting.pylintEnabled": true,
"python.linting.pep8Enabled": false,
"python.linting.enabled": true,
"python.pythonPath": "env/bin/python"
}

0 个答案:

没有答案