Home > Mobile >  Appearance of tiny code block showing parameter type in java files: VSCode
Appearance of tiny code block showing parameter type in java files: VSCode

Time:04-15

I was working in VSCode with java files and I did several things (that might cause this problem to occur):

  1. Installing extensions from marketplace for Java and C
  2. Installing C compiler (using this guide: java parameter hints 1

    java parameter hints2

    Text editor screenshots when type doesn't exist in parameter:

    java with no parameter hints1

    java with no parameter hints2

    So basically, I don't want this type exists in the parameter, i.e., I want my text editor like those in pic 3, 4 instead of pic 1, 2. How can I do this?

    CodePudding user response:

    See https://stackoverflow.com/a/71880286/836330

    You can disable those hints with this setting:

    java.inlayHints.parameterNames.enabled set to none

  • Related