diff --git a/hasaki-gen-crud/hasaki-gen-crud.js b/hasaki-gen-crud/hasaki-gen-crud.js index 8c5cdd9..a57db74 100644 --- a/hasaki-gen-crud/hasaki-gen-crud.js +++ b/hasaki-gen-crud/hasaki-gen-crud.js @@ -14,7 +14,8 @@ try { // }).catch(error => { // console.log("fix:", error); // }) - 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("cmd.exe", "/c", `gopls fix -a -w ${path}`).show() }