Thanks for that information. I tried, by the way, modifying the "launch window switcher" macro by adding an if-then-else, so that it only launched the switcher when VS Code was not the front application, but that didn't work right. Whenever it launched the switcher (i.e. whenever I typed cmd-backtickk while VS Code was not the front window), it would initially work right and I could switch between windows by tapping cmd-`, but when I released cmd it wouldn't go to the window I selected. Instead the switcher would just stay up.
Oh, I should say that I tried that because when the KM macro is disabled, cmd-` works okay on VS Code.
Any idea how to modify that macro so that it doesn't launch the switcher when VS code is the front application?