What is the Eclipse shortcut for “public static void main(String args[])”?

后端 未结 7 479
不思量自难忘°
不思量自难忘° 2021-01-30 01:29

I know a cool shortcut for System.out.println(): sysout Ctrl + Space.

Is there something similar for public static void main(Str

7条回答
  •  耶瑟儿~
    2021-01-30 01:56

    As bmargulies mentioned:

    Preferences>Java>Editor>Templates>New...

    Now, type psvm then Ctrl + Space on Mac or Windows.

提交回复
热议问题