You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -127,12 +128,31 @@ export abstract class BaseLinter {
127
128
customError=`Linting failed, custom arguments in the 'python.linting.${this.Id}Path' is not supported.\n`+
128
129
`Custom arguments to the linters can be defined in 'python.linting.${this.Id}Args' setting of settings.json.\n`+
129
130
'For further details, please see https://github.com/DonJayamanne/pythonVSCode/wiki/Troubleshooting-Linting#2-linting-with-xxx-failed-';
131
+
vscode.window.showErrorMessage(`Unsupported configuration for '${this.Id}'`,'View Errors').then(item=>{
132
+
if(item==='View Errors'){
133
+
this.outputChannel.show();
134
+
}
135
+
});
130
136
}
131
137
else{
132
-
customError+=`\nYou could either install the '${this.Id}' linter or turn it off in setings.json via "python.linting.${this.Id}Enabled = false".`;this.installer.promptToInstall(this.product);
138
+
customError+=`\nYou could either install the '${this.Id}' linter or turn it off in setings.json via "python.linting.${this.Id}Enabled = false".`;
139
+
this.installer.promptToInstall(this.product);
133
140
}
134
141
}
135
-
142
+
else{
143
+
vscode.window.showErrorMessage(`There was an error in running the linter '${this.Id}'`,'Disable linter','View Errors').then(item=>{
0 commit comments