Closed TekSiDoT closed 7 years ago
If the command line call to VSC returns immediately, there isn't much we can do. Maybe there is a switch to make the call blocking?
Makes sense, I'll check it out on the VSC side, thanks!
I found it here: https://code.visualstudio.com/docs/editor/codebasics#_additional-command-line-arguments
The option you're looking for is -w
or --wait
. You can this flag to the $EDITOR
variable to cause VSC to wait before returning.
Excellent, thank you!
When using Visual Studio Code as the editor referenced in the EDITOR env variable, changes does not wait for VS Code to return.
Changes made to CHANGES.md are thus not committed.