Skip to content

Show the type of `var` like Kotlin style for Java 10+ in IntelliJ IDEA.

License

Notifications You must be signed in to change notification settings

zxj5470/JavaX-Var-Hint

Repository files navigation

Java 10 Var Type Hint

JetBrains plugins JetBrains plugins

Usage

Press Ctrl - (or Command - on Mac) on a line or reopen a Java 10 file.

Notes:

  • Anonymous object has its folding so that you can move the cursor the between the identifier and = symbol (just like the screenshot)
  • In other cases, press the key everywhere for a line is OK.

ScreenShot

gif

Update R-Value like stream or a int return type

gif

About

Show the type of `var` like Kotlin style for Java 10+ in IntelliJ IDEA.

Resources

License

Stars

Watchers

Forks

Packages

No packages published