I could not find a proper full configuration for this online, and I know I'll need this again in the future.
There are two ways to achieve this with some plugins; one via hitting the shell and doing an in-place replace, the other is by doing it with extensions configurable in vscode. Both should give you the same results.