Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code with Java Extension Pack not highlighting errors in Linux

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:

enter image description here

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

enter image description here

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.

like image 727
Mariano L Avatar asked Nov 02 '25 01:11

Mariano L


1 Answers

If it helps, this is how I solved it:

  1. Shift + Ctrl + P
  2. Type Java: Clean Java Language Server Workspace and select it
  3. Reload VS Code
like image 151
chris Avatar answered Nov 03 '25 16:11

chris



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!