Open BuddhiLW opened 2 years ago
I don't think it would be practical to get into any colouring that would require semantic analysis. Presumably you'd want "onClick" to be highlighted the same whether it was imported qualified or unqualified, and that would be hard!
Although imports itself are colored, the elements exposed are not. This makes the code look very "monotonic".
Example of what I'm saying.
Html.Events
is highlighted, but theonClick
is not. I would appreciate if I could modulate the color of these exposed functions.In text format:
Also, self-made functions and imported ones could have close colors, but slightly different.
Maybe to be considered in the same vein: self-declared variables, like
urlPrefix
in my code, which has color only when being declared, but not in the code itself. Local and global variables in a file could be colored with slightly different colors.As it is, my code is monotonically white... These two excerpts-images I linked have both examples of all the things I mentioned,
urlPrefix
,model
,onClick
etc.In text format: