I'd like to ask/discuss if self
could be added as a keyword in the geany syntax highlighter.
While it is a convention and technically not a keyword, it is used as a defacto keyword.
It is used and treated as a keyword in teaching materials, including the official
python documentation whose syntax highlighter also highlights it as a keyword.
Most syntax highlighters and text editors consider it to be a keyword.
KDE/QT: Kate/Kwrite, KDevelop, QTCreator, Featherpad, etc
GtkSourceView: Gedit, Gnome Text, Gnome Builder, Mousepad, etc
CudaText, Lazarus, and other Lazarus or SynEdit based apps
VSCode
Sublime Text
PyCharm
Anyway, I just wanted to put this up as a discussion. I set it as a draft for that reason.
If it is able to be added, please let me know if my changes here are enough. I think I made
changes in all the places I needed to.
Thanks!
https://github.com/geany/geany/pull/3023
(3 files)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.