Format vlang source file on save using vscode editor
Mar 14, 2021
Install this extension:
Press CMD+, for settings and add:
"emeraldwalk.runonsave": {"commands": [{"match": "\\.v","cmd": "v fmt -w ${file}"},{"match": "\\.vsh","cmd": "v fmt -w ${file}"},]}