gregorias / anki-code-highlighter

Anki plugin for code syntax highlighting.
GNU Affero General Public License v3.0
55 stars 3 forks source link

Pressing the shortcut doesn’t trigger anything #16

Closed arkhandir closed 1 year ago

arkhandir commented 1 year ago

Hi, thank you for this plugin Grzegorz.

On macOS 12.5.1 and Anki Version ⁨2.1.54 (b6a7760c)⁩ Python 3.9.7 Qt 6.3.1 PyQt 6.3.1, pressing the shortcut on selected code does nothing. I tried various other shortcuts without success. Any ideas? Thanks!

gregorias commented 1 year ago

Hi @arkhandir, could you try pressing ⌘+'?

I forgot to update the instructions for macOS, where it's the command key not control.

Thank you for reporting, I hope this will solve your issue.

arkhandir commented 1 year ago

Thanks! It works.

arkhandir commented 1 year ago

It worked for a short time, but soon I couldn't trigger anything with the shortcut again. I'm the last one to call for GUI elements, but in the current case I'm really at a loss as to how to use the add-on. Same system/Anki setup as above, tried the latest add-on version.

gregorias commented 1 year ago

I'll consider adding a GUI element soon: https://github.com/gregorias/anki-code-highlighter/issues/23.

gregorias commented 1 year ago

I have a prerelease version that I need to test. If you want, you can try it out (attached), and let me know if it works for you.

codehighlighter.zip

gregorias commented 1 year ago

I've pushed the newest version to Anki's repo.