question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request: Java generics could be highlighted?

See original GitHub issue

Describe 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:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
illuminator3commented, Jun 15, 2022

turns out it was an issue with my JS code… this is awkward, lol

0reactions
joshgoebelcommented, Jun 15, 2022

Ping.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found