VS Code has this built in.
I personally have a set of ⌘N and ⌘W chords [0] for various creations and deletions. ⌘W S to close all saved files is a particular favourite; I don't really pay particular attention to my tabs anymore (just open on the filespace), which is one less thing to think about when coding.
[0] https://github.com/yunruse/.config/blob/zsh/vscode/keybindin...