Shuffles the cloze answers on your cards so you learn the material instead of
memorising the order the answers sit in.
If a card has several cloze deletions in a list, after a handful of reviews you
stop recalling the answers and start recalling positions β third bullet, the
short one, the one after "and". Cloze Shuffler reorders those lines so that
shortcut stops working.
Credit
This is an updated build of Cloze Shuffler by m-riley04, which had not been
updated for current Anki versions. All credit for the original idea and
implementation goes to them.
- Original add-on: https://ankiweb.net/shared/info/1729142330
- Original source: https://github.com/m-riley04/ClozeShuffler
This is an unofficial community update. Please do not report problems with this
build to the original author.
What it does
Open ClozeShuffler in the menu bar:
- Shuffle now β shuffle immediately. Four options: tagged cards in this deck,
tagged cards everywhere, all cards in this deck, all cards everywhere.
- Autoshuffle while reviewing β reshuffle automatically each time you reveal
an answer.
- Settings β pick which of the four options autoshuffle uses, and whether
results appear as quiet notifications or pop-ups.
Tag a card with shuffle to limit shuffling to just the cards you want, then
pick one of the "Tagged" options. Leave cards untagged and use an "All cards"
option to shuffle everything.
Note: autoshuffle defaults to tagged cards in the current deck. If none of
your cards carry the shuffle tag it will look like nothing is happening β
either tag your cards, or switch the method in Settings.
What changed in this build
Fixed
- "Tagged in deck" ignored the deck and shuffled tagged cards in every deck
- Deck names containing spaces matched nothing at all
- Changing the autoshuffle method while it was on left the old hook registered,
stacking up duplicate shuffles on every answer
- A cloze note with three deletions was shuffled three times, once per card
- Cards with empty or unusual fields aborted the whole run
- Notes were rewritten even when nothing changed, marking them modified and
bloating syncs for no reason
Updated
- Works on the PyQt6 builds shipped since Anki 24.04
- Reorganised menu with tooltips on every entry
- New settings dialog instead of hand-editing config JSON
- Quiet fading notifications instead of pop-ups you have to dismiss
- Result messages that say what actually happened, including when nothing matched
- Notes saved in one batched write β much faster on large decks, and it collapses
into a single undo step
Before you run it
Shuffling rewrites note content, so shuffled notes sync as modified. Back up
your collection before the first large run, particularly before using "All
cards everywhere" on a big collection.