glutanimate / syntax-highlighting

A fork of Tiago Barroso's Syntax Highlighting add-on with support for Anki 2.1
https://ankiweb.net/shared/info/1463041493
Other
108 stars 27 forks source link

Are there any plans to update it to version 23.10? #46

Open castellco opened 9 months ago

castellco commented 9 months ago

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Your question

Are there any plans to update it to version 23.10? This add on is the best for learning code, but it is incompatible with the latest version of Anki. Please.

glutanimate commented 9 months ago

Hi, yes it's on my list of add-ons to update.

castellco commented 9 months ago

I'm looking forward to it. Thanks!

dluschan commented 8 months ago

This patch should fix the issue: https://github.com/glutanimate/syntax-highlighting/pull/47

cav71 commented 8 months ago

@glutanimate @dluschan thanks for the incredible tool ankit is. Would you consider to share the burden to maintain this repo with someone that can help? This pull request is kind of ready to go, but hold for weeks (see47).

Lexora commented 7 months ago

Looking forward to running this on new version -

Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 6.6.1 PyQt 6.6.1 Platform: Linux-5.15.0-88-generic-x86_64-with-glibc2.35


When loading Syntax Highlighting for Code:
Traceback (most recent call last):
  File "aqt.addons", line 245, in loadAddons
  File "/home/usr.local/share/Anki2/addons21/1463041493/__init__.py", line 15, in <module>
    from . import main
  File "/home/usr/.local/share/Anki2/addons21/1463041493/main.py", line 21, in <module>
    from .consts import *  # import addon_path
  File "/home/usr/.local/share/Anki2/addons21/1463041493/consts.py", line 22, in <module>
    addon_path = os.path.dirname(__file__).decode(sys_encoding)
AttributeError: 'str' object has no attribute 'decode'

Oh this looks like a quick fix, ^ can I help to create a PR if previous one is stale?

cav71 commented 7 months ago

@Lexora I wrote a fork here syntax-highlighting-ng / 566351439: it includes improvements and fixes for the newest Anki version.

DevinCLane commented 7 months ago

Just checking in to see if this will be updated for the newest version of anki? Great add-on here, thanks for your work

aljab012 commented 7 months ago

@Lexora I wrote a fork here syntax-highlighting-ng / 566351439: it includes improvements and fixes for the newest Anki version.

Thanks a lot @cav71