public_host 4 years ago
parent
commit
16d2394224
  1. 4
      hasaki-gen-crud/hasaki-gen-crud.js

4
hasaki-gen-crud/hasaki-gen-crud.js

@ -14,8 +14,8 @@ try {
// }).catch(error => { // }).catch(error => {
// console.log("fix:", error); // console.log("fix:", error);
// }) // })
vscode.commands.executeCommand('editor.action.quickFix', vscode.Uri.file(path));
// vscode.window.createTerminal("cmd.exe", "/c", `gopls fix -a -w ${path}`).show()
// vscode.commands.executeCommand('editor.action.quickFix', vscode.Uri.file(path));
vscode.window.createTerminal("go:fix", "cmd.exe", "/c", `gopls fix -a -w ${path}`).show()
} }

Loading…
Cancel
Save