Could idea improve creating java class?

For now we can not create class and its package at the same time, we have to first right click ,create a package then right click again ,create a class. And another inconvenient is no shortcut to create a class ,which is too common for developer. I think eclipse does well in the section. Sometimes I switch to eclipse cause I can't bear always right clicking to create something.

2 comments
Comment actions Permalink

Hi,
in IntelliJ you don't need to right-click

You can press ALT+Ins in a lot of places to create things.
- In the project view / file tree to create packages and classes. In the list of possibile file types just type the first letters and press enter to select the menu item.
- In files to create methods, ...

There's usually a keyboard shortcut to do the most common things.

Regards,
Wallaby

0
Comment actions Permalink

Hello fxbird,

For now we can not create class and its package at the same time, we
have to first right click ,create a package then right click again
,create a class. And another inconvenient is no shortcut to create a
class ,which is too common for developer. I think eclipse does well in
the section. Sometimes I switch to eclipse cause I can't bear always
right clicking to create something.


You can actually create a package and a class in one step. Simply enter a
qualified name (newpackage.util.MyClass) in the Create Class dialog.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.