I'm using Visual Studio Code with the Java Extension. In windows, I get a highlight of all the errors in the IDE, as you can see in this screenshot:

But when I write the same code, with the same errors and with the same extensions in linux, the highlight doesn't work:

Before you say it, yes the error is there. If a run the code I get the error "Executer". Compared settings and are all the same. Java is detected, the thumb is up.
The version in linux mint and windows is 1.30.1.
If it helps, this is how I solved it:
Java: Clean Java Language Server Workspace and select itIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With