在C:\Users\你的用戶名\.vscode\extensions\sencha.vscode-extjs-1.0.1\out\src文件下找到Logger.js,打開它。
找到代碼
fs.writeFile(path.join(Platform_1.default.settingsDir, 'vscode-extjs.log'), '');
修改為
// fs.writeFile(path.join(Platform_1.default.settingsDir, 'vscode-extjs.log'), ''); //修復vscode更新后不能使用bug fs.writeFileSync(path.join(Platform_1.default.settingsDir, 'vscode-extjs.log'), '');
或者
fs.writeFile(path.join(Platform_1.default.settingsDir, 'vscode-extjs.log'), '', function(){});
重新打開vscode,解決問題