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
I expected type parameters to have the same highlighting everywhere, but their highlighting is inconsistent. Type parameters are currently highlighted where they are defined and nowhere else. (This is only the case on class and interface pages. Type parameters are not highlighted at all in other pages. This is likely related to #2227.)
Suggested Solution
I have two main thoughts on this:
Highlighting type parameters everywhere would be useful, because they are very important.
Currently, only linked identifiers are highlighted. So highlighting type parameters without linking them would be inconsistent.
So I would suggest to either remove highlighting for type parameters everywhere, or to highlight them everywhere and add links for them. If consistency is not as important (e.g. because more highlighting is planned in the future, idk), then I think that type parameters should be highlighted everywhere, even without them linking to anything. Depends on what is more important.
The text was updated successfully, but these errors were encountered:
Currently type parameters are never linked, and are actually created intentionally broken for some reason that I don't remember right now (possibly carry-over hacks from when the themes were in handlebars and I was terrified of changing the model due to no type checking?)
Search Terms
generic type parameters, semantic highlighting
Problem
I expected type parameters to have the same highlighting everywhere, but their highlighting is inconsistent. Type parameters are currently highlighted where they are defined and nowhere else. (This is only the case on class and interface pages. Type parameters are not highlighted at all in other pages. This is likely related to #2227.)
Suggested Solution
I have two main thoughts on this:
So I would suggest to either remove highlighting for type parameters everywhere, or to highlight them everywhere and add links for them. If consistency is not as important (e.g. because more highlighting is planned in the future, idk), then I think that type parameters should be highlighted everywhere, even without them linking to anything. Depends on what is more important.
The text was updated successfully, but these errors were encountered: