This video shows how you can edit VBA code with VS Code (or any other editor you like) to get all the following (and more):
* Line numbers
* Dark mode
* Git version control *while editing*
* Have access to all key combinations like Ctrl-/ to comment/uncomment
xlwings is a Python package, you’ll find the installation instructions here: