Auto Deck Fields: Index, Chapter & Subchapter

AnkiWeb addon 1855160355

Automatically fills a note's Index, Chapter, and Subchapter fields from the deck hierarchy when opening Add Cards or switching decks, extracting module codes or acronyms.
AI-generated summary; may contain mistakes.

card-creation

Open on AnkiWeb Ask about alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-10-10
Anki versions
25.09~
Languages
Python
Description language
en

Maintenance

active

  • Last update or commit: 2026-10-10 (22 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.09+2026-10-10
History across monthly snapshots

Loading…

Similar addons

Bulk card creator with JSON

Creates many Anki notes at once from flat JSON arrays or mapped CSV/TSV data, supporting decks, tags, validation, warnings, and editable cards before bulk creation.

card-creationimport

10 votes 60% approval 👍 9 · 👎 1 ⭐ 1 Anki 2.1.1~ Updated 2026-04-25
Obsidian Sync (Differential)

Exports Anki notes differentially to Markdown in Obsidian, mirroring deck folders, syncing images/video/audio, generating index files, and linking cards back to Anki.

exportsync-integration

13 votes 77% approval 👍 13 · 👎 0 ⭐ 25 Anki 26.08.1~ Updated 2026-08-09
Japanese Support - Auto Fill cards

Automatically fills Japanese vocabulary and sentence flashcards from a typed word or sentence, adding translations, kana readings, kanji readings, transitivity, part-of-speech, offline dictionary lookups, and Google TTS audio.

card-creationcard-templatesdictionary

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.1~ Updated 2026-07-28

Description

Auto Deck Fields: Streamline Your Card Creation

Auto Deck Fields automatically extracts and populates your note's Index, Chapter, and Subchapter fields (if they exist) directly from your deck hierarchy, the moment you open the Add Cards window or switch decks.

Key Features

  • Instant Auto-Fill on Add: Fields populate automatically upon opening the "Add Cards" dialog—no extra clicks or shortcuts needed.
  • Dynamic Deck Switching: Changing decks in the dropdown updates your fields on the fly, while preserving your cursor focus.
  • Intelligent Module Code Detection: Scans deck names using smart regex to extract university module codes (e.g., CS101:, MA204:, PH101:) and formats them cleanly into your Index field. If no code can be found (and the subchapter name is exactly 3 words), the program builds a 3-letter acronym (e.g., "Computational Fluid Dynamics" becomes CFD:).
  • Non-Destructive & Safe: Smart overwrite guards ensure your manual notes are never accidentally wiped out.

Required Setup

Ensure that your note type contains the following (case-sensitive) fields for full functionality:

  1. Index — Receives the module code or acronym (e.g., CS101: or ABC:
  2. Chapter — Receives the parent deck name
  3. Subchapter — Receives the child/subdeck name

(Note: If a note type does not have these exact fields, the add-on simply ignores it without throwing errors).

Examples

Deck: CS101 Computer Science::Data Structures
• Chapter: CS101 Computer Science
• Subchapter: Data Structures
• Index: CS101:

Deck: Biology::BI201 Molecular Genetics
• Chapter: Biology
• Subchapter: BI201 Molecular Genetics
• Index: BI201:

Deck: Mechanical Engineering::Fluid Dynamics Basics
• Chapter: Mechanical Engineering
• Subchapter: Fluid Dynamics Basics
• Index: FDB:

Deck: Physics
• Chapter: Physics
• Subchapter: (empty)
• Index: (empty)