15 2
Contact Author Sign in to rate

Extended Tag Add/Edit Dialog

0.04MB. Updated 2022-03-13.
The author has shared 74 other item(s).


For an overview of this add-on check out this TheAnKing video: Anki: How to Find Cards and Tags in the Browser. Anki 2.1.50 from 2022-04 has a much improved tag area at the bottom of the editor. This add-on might no longer be needed.. Note about Anki 2.1.45 or newer: - The default shortcuts of this add-on break the built-in Latex-Shortcuts in 2.1.45+. Change the shortcuts of this add-on in the add-on config and restart Anki, for details see here. - The custom shortcut suggested by TheAnKing in his video about this add-on (Ctrl+6) no longer works in this version because Anki introduced a new built-in shortcut (for the flag Turquoise) that uses Ctrl+6. So you'll have to change the add-on config and restart Anki. This add-on offers an extended tag editing/adding dialog that shows one tag per line, see the screencast below. You can open it from the context menu of the editor or by shortcut. You can set different shortcuts for the reviewer (default: "p") and the Add/EditCurrent/Browser window (default: "Ctrl+t, d" (mnemonic: tag-dialog)). This dialog is especially useful if you have multiple long (hierarchical) tags like this one taken from a popular shared deck for med students: #B&B::Endocrinology::Adrenals::Congenital_Adrenal_Hyperplasia #FirstAid::endo::path::adrenal::cah #Pathoma::15_Endocrine::15.10-15.11-Adrenal_Cortex_&_Adrenal_Medulla Endocrine::Pathology On a small notebook screen the width of the window is too small so that parts of the content is hidden so that I have to put the cursor into the tag line and then go left/right. It's also not immediately clear where a new tag starts - the separating space is lost in a wall of text. That's why I prefer an extra dialog: There's also an extended tag insertion dialog in the Add/EditCurrent/Browser window - you can quickly filter your exisiting tags and insert them into the tag bar at the bottom. The default shortcut for this is "Ctrl+t,a" (mnemonic: tag-add). # compatibility with Speed Focus Mode If you use the add-on Speed Focus Mode (auto-alert, auto-reveal, auto-fail) there's this problem: If you open my tag add/edit window the speed focus mode continues counting the seconds in the reviewer window and rates and so on. Workaround: In the reviewer you could press “e” to go to the edit current window. This should stop “Speed Focus Mode”. Then you can use the editor shortcut of my add-on “Ctrl+t,d” (or whatever you have configured) to open the tag dialog. After closing this dialog use “Esc” to close the edit current dialog. So you just need two additional shortcuts. # acknowledgements /u/BlueGreenMagick improved the handling of non-latin characters. This add-on is based on an idea by /u/AnKingMed who also helped with testing. # Versions - 2022-03-13 handle notes with so many tags that the tag dialog is bigger than the screen - use simple dialog that allows scrolling in this case. - 2021-12-06 update older versions to same newer - 2021-12-05 fix for 2.1.50 - 2021-05-19 adjust for fastbar compatibility - 2021-05-09 make add-on work with "one card per note" modes in Anki, misc changes collected over the last year, including a commit by ryerrabelli - 2020-06-30 new default shortcuts, bug fix for prior release, misc enhancements like Ctrl+N/Ctrl+P to go through lines. - 2020-06-06 (only for 2.120 or later): by default the completers are removed from the dialog to make the add-on much quicker. You can re-enable them by setting the new config key "basic_but_quick" to false. - 2020-04-27 small improvement for filter dialog - 2020-03-24 removed code for the night-mode add-on - 2020-02-20 better support for non-latin characters - 2020-01-22 better support for the night-mode add-on by BlueGreenMagick - 2020-01-13 initial release # bugs Please do not use reviews for bug reports or support requests. I don't get notified of your reviews, and properly troubleshooting an issue through them is nearly impossible (formatting is limited and I can't reply multiple times). If you find a bug let me know in the official anki support forum, on github. # Compatibility with other add-ons There are many add-ons that set shortcuts for the editor. If two add-ons set the same shortcut the shortcut doesn't work at all. To avoid such conflicts I deliberately set unusual default shortcuts for the editor ("Ctrl+t,d"/"Ctrl+t,a"). You can adjust them in the config and use easier to type combinations. for older anki versions from 2020: The subtag matching from glutanimate's Bettertags only works if (a) bettertags is loaded before this add-on. E.g. rename the bettertags add-on folder to `1135507716` and (b) if you have adjusted the config of my add-on so that "basic_but_quick" is "false".


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author


on 1628845575
Thanks for your work. A minor issue though: f I enable either of the two below, latex shortcuts won’t work in 2.1.46 (debian buster):

Extended Tag AddEdit Dialog
Fastbar - with nightmode support

I have posted about this in the Anki forums in case that's the proper place.
Comment from author
thanks for letting me know about the shortcut problem.

If you change the default shortcuts so that they no longer start with "Ctrl+T" the built-in latex shortcuts should work again.

for background info see https://forums.ankiweb.net/t/emacs-style-shortcuts-with-ctrl-t-in-the-editor-in-45/12280/5
on 1628231398
won't work in anki 2.1.45
Comment from author
Yes it does.

At least I haven't run into a problem so far and the AnKingMed students group neither - in their compatibility overview for 2.1.45 it's labelled as "working", https://www.notion.so/322a9c869fa1401894338ca65a565c42?v=db3d118f63634e8bae78fab752e905fd

If you have a problem you'd help a lot by describing the problem you have and telling how to reproduce it and which other add-ons you use. With about 1000 different add-ons published so far it's pretty likely that there are conflicts and a single add-on author can't try out all add-on combinations.
on 1626364218
on 1620621728
Nice! This addon + BetterSearch = awesome combo! ^___^

Thanks for update!
on 1619546662
on 1617286477
Should be implemented in Anki
Must have add-on
on 1616670563
Very usefull for my long subtags.
Thank you very much.
on 1615366866
thank you!
on 1613536445
Just an amazing, useful addon
on 1612084186
The same caveat applicable to bettertags goes for tagedit_subtag_completer

BTW in a few days Glutanimate will have released a new version of bettertags on ankiweb

edit 2021-01-31
Bettertags is not on ankiweb now. Also, my version of bettertags isn't working anymore since I upgraded from Anki 2.1.22 to 2.1.35. Neither does tagedit_subtag_completer.

I changed disabled the shortcuts of AwesomeTTS because it conflicts with this add-on here. I don't use AwesomeTTS much and it's still accessible via the button.
on 1605469522

None of the shortcuts work. When I'm in the browser I want to see which tags are on certain card(s) and I've tried all the shortcuts + changing them, nothing works. I'm using Anki on windows.
Comment from author
workaround: in the context menu of the editor (that's what you see at the bottom of the browser or in the add window) there's an entry "edit tags".

Please do not use reviews for bug reports or support requests. I don't get notified of your reviews, and properly troubleshooting an issue through them is nearly impossible (formatting is limited and I can't reply multiple times). If you find a bug (or have a problem) let me know in the official forum at
https://forums.ankiweb.net/t/extended-tag-add-edit-dialog-official-thread/553 or at https://github.com/ijgnd/anki__extended_tag_edit_add_dialog/issues

You don't post enough info. If you want help answer the following questions in the anki forum or github:
1. After changing an add-on config restart Anki to make sure the new config is loaded. For some add-ons just closing the add window or browser is enough but unless you check the source code yourself you never know. Does restarting Anki after adjusting the config make your custom shortcuts work?
2. You know how to use the two part shortcuts like "Ctrl+t,a" in general? if not check out this video https://youtu.be/PlcsNIsYc7k?t=308
3. If you are not on Anki 2.1.35 update and try again. I ask for this because I only care about the Anki version I use and the latest one. Does this fix the problem?
4. The most common source of problems in Anki are add-ons and if you have many add-ons add-on conflicts. Disable all other add-ons so that just my "Extended Tag ..." is active, restart Anki and try again. Does this fix the problem?
5. Do your other shortcuts work in the browser?
6. Since when do you have this problem: Did it occur recently or did you always have it? If it's the former: Did something change recently?

When you run into problems you should always think of: https://faqs.ankiweb.net/when-problems-occur.html
on 1597188310
Works well
on 1585513775
Thank you man, this is what I was looking for!
on 1585148573
Unable to update to the newest version released on 3/24. "Error downloading: invalid code, or add-on not available for your version of Anki." Using Anki version 2.1.15 and haven't had a problem updating before.
on 1580815859
Awesome add-on! A must-have when Anki's native tag editor doesn't let you type in Korean on linux.
on 1579120589
Helps a lot in adding complex tags. Pretty nice to use this addon in addition to "Blitzkrieg: Advanced Browser Sidebar".
on 1579058605
Makes tag addition a breeze. Thank you.