Home > Software engineering >  Javadoc not showing on hover in VSCode
Javadoc not showing on hover in VSCode

Time:03-11

I'm currently working on a java project using VSCode and when I hover an object, type or method name, documentation isn't showing anymore. I do not know why or what I did to change that.

In the following picture, I am hovering the first occurence of ByteBuyUtils, and as we can see, nothing is shown.

first hovering example

Here is a picture found on google pictures showing what I want to get when hovering something :

example of what I want when hovering code

I'm using 1.65.1 version of VSCode, on Ubuntu 21.10. I am using openjdk version "18-ea" 2022-03-15.

The following extensions are installed on my VSCode :

  • Language Support for Java(TM) by Red Hat
  • Debugger for Java
  • Test Runner for Java

CodePudding user response:

Maybe this is the extension you need:Visual Studio IntelliCode You can also read this article to see some of the extensions that Java needs: https://code.visualstudio.com/docs/java/java-tutorial

CodePudding user response:

It stands to reason that the extension you downloaded has this function to show that... why don't you install an intelligent prompt extension such as this oneto have a try? Or please check it out if you have turned off the setting:editor.hover.enabled(in the lower right corner and search for hover)?

  • Related