Go to Deck - Right-click a card to filter and highlight its deck in the Browser

AnkiWeb addon 1158865515

Adds a Go to Deck browser context menu option that filters cards to the selected card's deck, optionally highlighting the sidebar with a clipboard workaround.
AI-generated summary; may contain mistakes.

searchdeck-management

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (👍 0 · 👎 0)
Updated
2025-11-19
Anki versions
2.1.1~
Description language
en

Maintenance

active

  • Last update or commit was 121 days before the snapshot (2026-06-02).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2025-11-19
History across monthly snapshots

Loading…

Similar addons

Anki Browser Context Menu Search

Adds a context-menu option to search highlighted text in Anki's card browser, based on Reviewer Context Menu Search.

search

Rating 3 👍 3 · 👎 0 Updated 2019-11-13
Deck Performance Dashboard

Aggregates hierarchical deck statistics—cards reviewed, correct answers, percentages—with search, flag/ease filters, drill-down analytics, CSV export, and collapse/context-menu navigation.

exportstatisticsdeck-management

Rating 4 👍 3 · 👎 1 Anki 2.1.1~ Updated 2025-02-06
Filtered Deck From Tag

Creates a filtered deck from a right-clicked browser tag, with configurable supplemental searches, card limits, automatic unsuspension, and default order.

taggingsearchfiltered-decks

Rating 27 👍 25 · 👎 2 ⭐ 7 Anki 2.1.56~ Updated 2023-02-19
Filtered Deck From Tag (Multi-tag Selection)

Creates filtered decks from browser sidebar tags with checkbox multi-tag selection, automatic naming, optional auto-unsuspend, and configurable card limit and order.

filtered-decks

Rating 0 👍 0 · 👎 0 ⭐ 0 Anki 2.1.1~ Updated 2026-07-28
Right-Click Search Google

Adds a Search Google option to the right-click context menu in the reviewer, browser, and editor, opening a Google search for selected text; works with Anki 2.1.x without configuration.

search

Rating 1 👍 1 · 👎 0 Anki 2.1.1~ Updated 2026-05-23

README

Anki Go-to-Deck Context Menu

A lightweight Anki add-on that adds a "Go to Deck" option to the browser's context menu, allowing you to instantly filter the view to the specific deck of a selected card.

Version License: MIT AnkiWeb Anki

This utility solves a common navigation friction in the Anki Browser. Instead of manually searching for a deck name or scrolling through the sidebar, you can right-click any card and instantly isolate its home deck.

Table of Contents


Features

  • Context Menu Integration: Adds a convenient "Go to Deck" option when right-clicking a card in the Browser.
  • Instant Filtering: Automatically applies a deck:"Name" filter to the search bar.
  • Hybrid Behavior:
    • Legacy Anki (Qt5): Automatically expands the sidebar tree and highlights the specific deck folder.
    • Modern Anki (2.1.50+ / Qt6): Applies the search filter by default. Optionally, it can visually expand the sidebar using an advanced input simulation method (see Configuration).

Return to Top

Prerequisites

  • Anki Desktop: Works on both legacy (2.1.x) and modern (23.x/24.x) versions.
  • OS: Windows, macOS, or Linux.

Installation

Option A: Install via AnkiWeb (Recommended)

The easiest way to install the add-on is through Anki's built-in add-on manager.

  1. Open Anki.
  2. Go to Tools -> Add-ons -> Get Add-ons...
  3. Paste the following code into the box:
    1158865515
    
  4. Click OK and restart Anki.

View on AnkiWeb: Go to Deck (Browser Context Menu)

Option B: Manual Installation

If you prefer to install from source or modify the code:

Step 1: Open the Add-ons Folder

  1. Open Anki.
  2. Go to Tools -> Add-ons -> View Files.
  3. This opens the addons21 folder on your computer.

Step 2: Create the Folder Structure Inside addons21, create a new folder named AnkiGoToDeck (or any name you prefer, but avoid spaces).

Step 3: Copy Files Copy the following three files from this repository into your newly created AnkiGoToDeck folder:

  1. __init__.py
  2. anki_go_to_deck.py
  3. config.json

Final Structure:

addons21/
└── AnkiGoToDeck/
    ├── __init__.py
    ├── anki_go_to_deck.py
    └── config.json

Step 4: Restart Anki Restart the application for the add-on to load.

Return to Top

Configuration

This add-on includes a config.json file to control advanced behavior for modern versions of Anki.

{
    "enable_sidebar_clipboard_hack": false
}

enable_sidebar_clipboard_hack

  • Default: false
  • Description: In modern Anki (2.1.50+), the sidebar is a web component that cannot be controlled via standard API calls.
    • If false: The add-on will simply filter the card list (deck:"Name"). The sidebar tree will not change visually.
    • If true: The add-on will use a workaround to force the sidebar to expand to the correct deck.

⚠️ Important Note for the "True" setting: To achieve this on modern Anki, the script copies the deck name to your system clipboard and simulates a keyboard sequence (Ctrl+Shift+F -> Ctrl+A -> Delete -> Ctrl+V -> Enter). Enable this only if you are comfortable with the add-on briefly using your clipboard when you click "Go to Deck".

Return to Top

Usage

  1. Open the Browser in Anki.
  2. Right-click on any card in the list.
  3. Select Go to Deck from the context menu.
  4. The browser will immediately filter the list to show only cards from that deck.

Return to Top

Compatibility Notes

Sidebar Highlighting

  • Legacy Versions: On older versions of Anki where the sidebar is a standard Qt Widget, this add-on will visually expand the tree and select the deck item automatically (ignoring config.json).
  • Modern Versions (2.1.50+): Visual sidebar highlighting is disabled by default due to technical restrictions. It can be enabled by setting "enable_sidebar_clipboard_hack": true in the configuration file.

Return to Top

Kardenwort Ecosystem

This project is part of the Kardenwort environment, designed to create a focused and efficient learning ecosystem.

Return to Top

License

MIT

Return to Top