Closed Plutoberth closed 4 years ago
Thanks for the PR, I'll check this out ASAP!
This PR contains an async issue. The file gets saved but IDA has already executed the script by the time VS Code saves the file. On another execution it then successfully executes the script. I fixed that locally by calling the send function in the .then
promise handler. I'll push to the PR and merge it in a bit! Thanks for implementing this feature!
This PR contains an async issue. The file gets saved but IDA has already executed the script by the time VS Code saves the file. On another execution it then successfully executes the script. I fixed that locally by calling the send function in the
.then
promise handler. I'll push to the PR and merge it in a bit! Thanks for implementing this feature!
My bad, I barely use js\ts and I misread some documentation about .then
. Thanks for this awesome plugin!
I'm glad you like the plugin!
When running or debugging scripts in vscode, all open dirty editors are automatically saved. I added this functionality as a config option ("IDACode.saveOnExecute") that is enabled by default.