0

Is there any shortcut for @SuppressWarnings({"unused", "WeakerAccess"})

Specially on java classes?

KARTHIKEYAN.A
  • 18,210
  • 6
  • 124
  • 133
enator
  • 2,431
  • 2
  • 28
  • 46

1 Answers1

1

You could add a Live Template which you would then engage by typing the template short name and hitting TAB.

Here's an example:

enter image description here

With this live template you can enter unused + TAB and IntelliJ will auto complete to @SuppressWarnings({"unused", "WeakerAccess"})

glytching
  • 44,936
  • 9
  • 114
  • 120