Request: Java generics could be highlighted?
See original GitHub issueDescribe the issue
Java generics are not being highlighted
Which language seems to have the issue?
Java
Are you using highlight
or highlightAuto
?
highlight
Sample Code to Reproduce
class Foo {
void bar() {
Foo<Bar> buzz;
}
}
Expected behavior
Showing the diamond operator
Additional context
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Java Generics With a Class & an Interface - Together
I want to have a Class object, but I want to force whatever class it represents to extend class A and implement interface...
Read more >Java Generics Example Tutorial - Generic Method, Class ...
We use generics wildcard with extends keyword and the upper bound class or interface that will allow us to pass argument of upper...
Read more >Generics in Java - Wikipedia
Generics are a facility of generic programming that were added to the Java programming language in 2004 within version J2SE 5.0.
Read more >Support highlight for constructor call · Issue #2124 - GitHub
The highlighter for Java cannot differ constructor from function call. Hope the syntax file can be edited so we can add colour to ......
Read more >Generics can make your Go code slower - PlanetScale
Generics are a frequently requested feature that has been highly ... either a verbose and Enterprisey Java-lite with Generic Factories or, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
turns out it was an issue with my JS code… this is awkward, lol
Ping.