How to do this in IntelliJ ?
I'm trying to switch from Netbeans 7 to IntelliJ. I'm a big fan of IntelliJ - it's professional, fast and stable. But whatever the limitations of Netbeans are, I have to admit there are features I can't seem to find in IntelliJ. Maybe somebody can help me to point certain out ?
Maven
- Search for dependencies not yet present in the local repository. Netbeans downloads regularly the indices of the various repositories. Allowing a quick search for something new.
- GUI for the pom.xml file.
- Case in-sensitive code completion.
- Method argument auto-completion. When selecting a method the arguments are automatically filled-in with the most probable candidates.
- Generate boolean getters as isXXXXX() methods instead of getXXXXX().
- Select the method to step into when there's more than one method call on the current line.
JPA
- Actions like adding annotations for uni/bidrectional relationships, etc...
- GUI for persistence.xml + changing the configuration according to the choices.
TIA !
Jan
请先登录再写评论。
Hi Jan,
Smart type completion.
Getters for boolean properties are generated at 'isXxx()' form by default.
'Smart Step Into' action (Shift+F7) when the break point is hit.
Denis
Sorry, my mistake. I should have said "Boolean". For "boolean" it is the case indeed.
This invokes a popup for an argument-per-argument proposition. What I meant is that as soon as the method is known, netbeans fills the complete method call + ALL the arguments. The latter are a choice of the most probable candidates. It obviously tries to match with variables in the scope with the same name and type. Usually in just one go it selects immediatly all the right variables on the right places. A huge help when writing a lot of code.
I didn't know that. Thank you ! Is it possible somewhere to set this as the default step-into behavior ? :-)
It's not possible to achieve that at the moment. Feel free to track IDEA-28206.
Please submit corresponding ticket to the tracker.
You can achieve that by modifying a keymap.
Btw, you may find another interesting debugger features here.
Denis
I would happily vote for this feature, if you post the link to your feature request I will vote for it.
There you go ...
http://youtrack.jetbrains.net/issue/IDEA-74942
See first option in File (menu) -> Settings -> IDE Settings (lower halft of the tree on the left) -> Editor -> Code Completion
please also see:
http://blogs.jetbrains.com/idea/2009/09/super-method-completion/
That only works for super methods. This feature request is to make it work for any method.
Thanks ! :-)
I know, it was obvious (/2009/09/super-method-completion/)