syntax-highlighting
syntax-highlighting copied to clipboard
Python3 self, len, enumerate, list, str
Problem description
In Python3 certain keywords such as self, len, enumerate, list and str aren't highlighted. Additionally standard library functions like dict.get, list.append, and other standard library stuff like math.inf and collections.Counter() aren't highlighted. Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?
Checklist
Please replace the space inside the brackets with an x if the following items apply:
- [x ] I've restarted Anki to see if it helps
- [x ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
- [x ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
- [ ] I've tried to disable other add-ons to see if there are any interactions present
- [ ] My issue disappears when I hold shift while starting Anki.
- [x ] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.
Information about your Anki set-up
2.1.54 Please fill out the section corresponding with your Anki version:
If you are using Anki 2.1
Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 5.15.2 PyQt 5.15.5
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-07-23 15:04:10
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnkiConnect ['2055492159', 2022-07-14T16:15, 'None', mod]
Kanji Colorizer stroke order diagrams ['1964372878', 2020-11-03T13:33, 'None', mod]
Pass/Fail 2 ['PassFail2', 0, 'None', '']
Review Heatmap ['review_heatmap', 2020-04-30T09:23, 'None', '']
Syntax Highlighting for Code ['1463041493', 2018-10-06T21:31, 'None', mod]
===IDs of active AnkiWeb add-ons===
1463041493 1964372878 2055492159
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Highlight Code ['112228974', 2022-05-04T17:02, 'None', '']
If you are using Anki 2.0
Please open Anki, go to Help → About, find the two lines starting with Version:
and Qt
, and copy-paste them between the backticks below:
Please fill in details about your operating system (Windows/macOS/Linux, which version):
- OS: Windows
- version: 11
Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:
Error message (if any)
If you've received an error message, please copy and paste it between the backticks below: