You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the second option is doable without false positives, I think people might like it.
Otherwise I agree that 4 is the cleanest.
To try to get 2, we might just impose the official naming conventions from the contributing guide and say something like (A-Z\w+) is a type name (the initial A-Z enforces the upper-camel-case guideline), but I suspect that some users wouldn't like that. Also, it would be hard to disambiguate module and type names if we tried that.
I think you're right about disambiguating module and type names, and possibly constants (in the case of single letters or acronyms). Also, type highlighting gets really loud if all the types being passed around as values are highlighted, and highlighting the type in x = Union{Int, UInt} but not x = Int seems a little strange, for example.
Highlighting every other of the following is worse than no highlighting at all:
x = [Int, Bool, Vector, Array, Integer, FloatingPoint, DataArray, DataFrame]
Seems like consistent options are:
x = Union{...............}
)'storage.type.julia'
I think the latter is the cleanest and means the least distracting false alarms, but I wouldn't be that surprised if others like the second option.
Thoughts?
The text was updated successfully, but these errors were encountered: