1 1
Sign in to rate

Echelon - Improved Hierarchical Tags for Anki 2.1

<10kB. Updated 2018-10-20. 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 | *** 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 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.