When trying to set the colors for Python3, the granularity seems low.
Various syntax elements are bundled into “identifier”: a package name, a class name, a variable name, even a method like math.cos, which means they all have the same color.
Also I don’t find a place to specify colors for language constants.
Am I missing something?
Is there a place where Python3 keywords can be mapped to Komodo syntax elements?
My goal is to reach something like this image, from Peter Varo’s language bundle for Sublime.
Thanks in advance!
It’s not something you can do yourself until you have excellent skills in Python, Scintilla, CodeIntel and UDL. IIRC UDL is limited to element types. You cannot add some new element types such as
package_function etc. through UDL. Adding new element types means changing some of the CodeIntel logic, Scintilla variables and auto-complete code. That’s all what I know. @toddw can say more.
This is definitely something I’ve been wanting to improve as well, we’ll hopefully be looking into this soon.
Thank you both for your replies, hope you have a great weekend.