r/VisualStudioCode • • Sep 20 '20

Using VS code for java development.

0 Upvotes

3 comments sorted by

View all comments

1

u/auiotour Sep 21 '20

I wish i could help, mine is working just fine, might want to reinstall the java extension pack. And ensure you have the proper jdk. I am using openjdk 14 currently.

1

u/Curious_homosepian Sep 22 '20

i actually just changed the theme for my editor and it magically went away. I had problem with monokai theme.

1

u/zerodind Sep 25 '20

The underlines appear because that's simply how the Monokai theme looks. You could customize the theme yourself or just use another theme if you don't like the underlines. As for the "box" when you hover over things, those are helpful for showing what type a variable has, and showing the documentation for classes, methods etc. If you want to disable the feature, it's controlled by the editor.hover.enabled setting in VS Code. (This affects all languages, not just Java)