Anki add-on: Rebuild Filtered Decks

This add-on creates a menu in the Tools menu, allowing you to rebuild or empty all the configured decks at the same time. Each profile will have a separate configuration file (located in the profile folder itself with the name Rebuild Decks_config.json ). Configuring the Add-on If you are comfortable enough to edit the JSON file yourself, it will be much faster to configure it. Once you are done configuring it, you will have to restart Anki in order for the changes to have effect. You can access the configuration menu from the Tools menu as well as from the Config button in the Add-ons window. If any of the selected decks is not a filtered deck, no error will occur, but it is recommended to not add any decks which are not filtered in order to reduce time required to do the action. If you enable presets, then you can have as many presets as you wish, all of them will have a dedicated button to rebuild or empty under both submenus (rebuild and empty) in the Tools menu. If you do not enable presets, all configured decks will be rebuilt. If you decide to toggle the preset functionality, you will have to restart Anki in order to have the correct configuration menu. Once you save your configs, you will have to restart Anki for the changes to have effect. Known Limitations I have not added an undo feature, as the rebuilding or emptying queue can get arbitrarily large, and it is more challenging to find out how many undo actions are required. You should create a backup or sync before rebuilding or emptying if you think that you might need to undo the action. I have not added rebuild automatically functionality, as suggested by dae here . This uses only Qt6, no support for Qt5 (i.e. versions of Anki older than 2.1.55). Known Conflicts None so far Reporting Issues Please visit the support page for reporting issues. I will not be regularly checking this add-on, any issues reported here are likely to be missed. Minor Issues If you manually add decks, once you cross a threshold of 5 decks, scrolling becomes enabled so that the window doesn't become arbitrarily large. If the list of decks is already greater than 5 (if already configured and you are opening the configuration menu), scrolling isn't enabled for some reason and the window becomes larger than intended. If you add more decks once the settings window is opened, scrolling becomes enabled from that point onwards. If you remove decks, the size of the window doesn't decrease. If anybody has any idea how to fix this, please do let me know on the forums or on Discord (I go by SuhasK on both) Visit the support page for a detailed changelog. If you liked this add-on, consider rating this and leaving a comment.