Syntax Highlighting: Set()

Not a big deal, but I'm just wondering why list(), len(), etc. are highlighted yellow, but set() isn't.

1 Like

Everyone and their mom knows list and len but only real heads use set is my personal conspiratorial reason for this.


Could open a PR :slight_smile:

1 Like

Any reason you don't iterate through the built-ins to auto-populate this list?

Not my code. It's meant to run without any Jython or Python environment, hence the hardcoded list. I think it not being a complete hardcoded list is just an oversight by the primary dev.
I could extend/reimplement this class in Ignition, but then I'm taking on that maintenance debt. Easier to push changes upstream, which I'll probably do at some point.