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:
Index — Receives the module code or acronym (e.g., CS101: or ABC:
Chapter — Receives the parent deck name
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)