Eclipse, shortcut to create new Java class

后端 未结 9 1915
北恋
北恋 2020-12-28 14:40

Is it possible to assign a shortcut to go automatically on New Java Class Dialog? At the very beginning of a project when I am creating a lot of classes, it\'s quit

相关标签:
9条回答
  • 2020-12-28 15:36

    There's an icon (C icon) in the header toolbar for creating class! Its available by default Just click it!

    0 讨论(0)
  • 2020-12-28 15:42

    hit alt+shift+N and then click the respective first character for creating the respective file. For example, let's suppose you want to create a new java class:

    1. Hit alt+shift+N.
    2. Hit c (stands for creating java class).
    3. j (it will highlight the java package).

    like this you can use shortcut keys as well as first character of the word what you want to create.

    Hope this might help.

    0 讨论(0)
  • 2020-12-28 15:42

    First press ctrl + n and then press c then press Enter

    1. press ctrl + n
    2. press c (for selecting the class)
    3. press Enter (for creating a class name)

    and then class will easily created.

    0 讨论(0)
提交回复
热议问题