8 3
Sign in to rate

Echelon - Improved Hierarchical Tags for Anki 2.1

<10kB. Updated 2019-04-19. Only supports Anki 2.1.x.


An Anki 2.1 Addon for Hierarchical Tags, with context aware renaming. Based on the addon we know and love Hierarchical Tags by pneff, ported to anki 2.1 plus some enhancements * Clicking on a tag such as `it` will no longer show all cards with tags beginning in `it*` * Allowing any tag separator - configurable in `Tools>Addons>Config` * Renaming tags appropriate to the tag hierarchy on right click! For example if we have tags: | Foo | Foo::Bar | Foo::Baz | Foo::Bar::Baz | Renaming Foo -> Apple: | Apple | Apple::Bar | Apple::Baz | Apple::Bar::Baz| Renaming Foo::Bar -> Banana: | Foo | Banana | Foo::Baz | Banana::Baz | Issues At the moment anything in the Side Tree Bar will have `Rename Tag` when right clicked. If you clicked on a deck, this won't rename the deck. If you supplied a valid tag name, any tags with the same name as that deck would be renamed according to your input. | Deck: Italian | *Right Click Rename Tag* | Renames any tags called Italian | Changes * Fixed Hiding of Marked and Leeches * Fixed Icon displays * Fixed ctrl & space selection of multiple tags *** As ever feel free to suggest any features or raise any bugs! Source: https://github.com/glfharris/echelon


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

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


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.

Other Anki 2.1.x Add-Ons Ask a Question


on 1560647406
I loved this add on until I realized it wasn't compatible with night mode! :( Can you make it so that it's compatible?
on 1559114243
Hierarchical tags work, you just have to restart Anki after installing the add-on. Haven't tested the other features. I chose to install this over the other version because this seems like it's being updated/maintained and has the source code on GitHub.
on 1558527387
on 1555383141
The customizable tag separator saves my day (emacs org -> anki)!
on 1552109148
Very helpful in organizing cards.
FYI, I would like an option to expand/collapse all (keyboard shortcut?)
on 1549921101
Seems the download is no longer downloadable. Kept getting a 404 error.
Any assistance would be appreciated!
Comment from author
This is either an error with ankiwebs servers, or you're trying to install it on Anki 2.0. This addon is only for Anki 2.1.
on 1549512743
Very Good!
on 1549470608
Works nicely. Highly recommend.
on 1545611032
Does'nt work. Download failed : Error 404
on 1539537640
It makes renaming tags much easier and faster.
However, whenever I rename a tag, I start getting this message (below) every time I click inside any field of a note in explorer.
I have to restart Anki to get rid of this message. With restarting, the message doesn't appear until I use the addon again!

Debug info:
Anki 2.1.5 Python 3.6.1 Qt 5.9.2 PyQt 5.9
Platform: Mac 10.14
Flags: frz=True ao=True sv=1

Caught exception:
File "aqt/webview.py", line 121, in eventFilter
<class 'AttributeError'>: 'QContextMenuEvent' object has no attribute 'button'
Comment from author
Looked like a quirk of Anki's event handling. Fixed in the current version.
on 1538995155
An improvement on the earlier port called "Hierarchical Tags Addon (2.0 => 2.1)", thank you.