Options for using VS Code as an editor of scripts to run in Blender:
https://github.com/JacquesLucke/blender_vscode
This looks the most promising!
https://github.com/JacquesLucke/code_autocomplete
Maybe it can be made more worthwhile, but this is here mostly for completeness.
https://archive.blender.org/wiki/index.php/User:Ideasman42/BlenderAsPyModule
https://github.com/TomasHubelbauer/blender-script
There should be two options: run script which reads a file and executes it and another which is more robuts and auto-reloads the script?
This could be interesting, whatever it is.