Tips & Tricks

Create a Class Really Quickly

To quickly create a new class I press Alt+Home and then Alt+Ins. And you?

Quick Create with Alt-Home Alt-Ins

Comments below can no longer be edited.

13 Responses to Create a Class Really Quickly

  1. Avatar

    Erik says:

    March 31, 2009

    What would it be in Mac OS X?

  2. Avatar

    yole says:

    March 31, 2009

    Alt-Home (Alt-Fn-left arrow) and then Ctrl-N

  3. Avatar

    syl says:

    March 31, 2009

    I always use Alt+1 (Project View), Alt+Ins

  4. Avatar

    Steve says:

    March 31, 2009

    Ctrl-n on Eclipse, which is therefore proven vastly superior ๐Ÿ™‚

  5. Avatar

    trespasserw says:

    April 1, 2009

    Next step: support of batch class creation? ๐Ÿ™‚

  6. Avatar

    Viraf Karai says:

    April 2, 2009

    Splendid – works perfectly on Ubuntu 8.04 with IDEA-8.

  7. Avatar

    syl says:

    April 21, 2009

    Steve, afaik it’s not Ctrln+N in Eclipse, but rather:
    Ctrl+N, Tab, up/down (if you don’t have correct item selected), Enter, Enter

  8. Avatar

    matt says:

    November 13, 2015

    Or you can just make up a name for the class, then highlight the error & fix it. jb will make the class.

  9. Avatar

    Carl says:

    January 8, 2016

    Not sure why this wasn’t mentioned but you can also do CTL+ATL+Inset

    • Avatar

      Kirity says:

      April 26, 2017

      Thanks

    • Avatar

      Aayush Goyal says:

      July 31, 2017

      Thanks.

    • Avatar

      bagpipes says:

      April 11, 2018

      this is what i was looking for, thks.

  10. Avatar

    DEEPAK BYSANI says:

    September 22, 2018

    Cmd+1 followed by Cmd+N to get the new file creation prompt

Discover more