anki icon indicating copy to clipboard operation
anki copied to clipboard

Send to DirName just creates a deck called 'deck/subdeck'

Open raffraffraff opened this issue 3 years ago • 5 comments

My directory tree is:

anki-decks/
└── python
    └── argparse
        └── note.md

If I cd to anki-decks, type code ., open the note and use the command 'Anki: Send to DirName deck', it just creates a new deck called 'python/argparse'. It does not create a subdeck.

Edit: I can rename the deck in Anki, replacing the / with :: and it fixes the nesting. But the feature doesn't work as documented.

OS/Software versions

OpenSUSE Tumbleweed, (KDE/Plasma) Anki Desktop: ⁨2.1.54, Qt6 Vs Code: 1.69

raffraffraff avatar Jul 17 '22 21:07 raffraffraff

CC @duguosheng

jasonwilliams avatar Jul 17 '22 23:07 jasonwilliams

I only tested this command on Windows that file path separated by \(return value of relative), this bug will be fixed soon.

duguosheng avatar Jul 18 '22 02:07 duguosheng

The linked PR was merged almost a month ago. When / how do new versions of the plugin get released? Since this issue appears to break DirName on all non-Windows system, I think this deserves a bug fix release.

raffraffraff avatar Sep 13 '22 12:09 raffraffraff

@raffraffraff i will try to release this week, if there isn’t a release feel free to remind me

jasonwilliams avatar Sep 13 '22 12:09 jasonwilliams

1.2.7 has been released

jasonwilliams avatar Sep 14 '22 22:09 jasonwilliams