This is…really cool. Much faster than going through multiple windows/tabs in Anki itself. (Not to mention how much prettier the editor itself is) I have next to zero coding skills, so if any of my terminology here is wrong, I apologize.
Unless I’m doing something wrong (which is highly likely), the backup folder gets wonky if you open more than one Note Type at a time. Like if you finish with one and want to move on to the next, or if you want to copy parts of one and put it on another. The message is: “Backup folder already exists at …” I guess the solution for that is to open a different parent folder first, but that makes the “Create Anki Card Template Directory” button a little confusing. This might be something with VS Code that I am unfamiliar with because I don’t know my way around it at all.
This extension seems like it would be an awesome way to backup your Note Types. Usually if I am working on editing one, I’ll make a clone backup in Anki, or I will manually copy/paste front, back, and styling into a single text file. I used to have a deck just for note type saves/exports but that gets confusing fast. Having the different folders that this extension creates would streamline this.
It would be nice if at the “Enter card template folder name:” part, it would auto-fill the name of your Note Type. It might just be me, but my note type names are long so that they can be descriptive.
Thanks for making this! Time for me to find some HTML/CSS extensions for VS Code. Just the fact that I can use a nicer editor makes this awesome.