vscode的showErrorMessage增加配置项

const actions: any = [];
actions.push({ title: ‘配置’ });
vscode.window.showErrorMessage(‘请先配置lint文件!’, …actions).then(action => {
if (action == actions[0]) {
vscode.commands.executeCommand(‘WeCode.pclintConfig’);
}
});

猜你喜欢

转载自blog.csdn.net/qq_23350817/article/details/84983724