I am new to IntelliJ IDEA, and I am using 12.1.4.
I tried to create a maven project, and then add two sub modules.
This is the project structure:
As you can see,the
is the root project(parent project), while the
are the sub modules.
IntelliJ IDEA does the right thing by modify the pom.xml of
Now I have some problems:
app-common as a dependency of
That's to say, I want to IntelliJ IDEA modify the pom.xml of
But I can not find how to make it? I can not find the
app-common module at the
Maven Artifact Search dialog box.2) extract the repeated dependencies to the
dependencyManagement of the pom.xml of the parent
While I mean if the
have some same dependencies, for example, the
It would be better if we define the
of the pom.xml of
, I wonder if the IDE can make it for us?
I used to use the Eclipse before, so I found something I can not make it in IDEA.
1) When I type a "stri", then press key "alt+."(I have changed the key map of "Main menu-Code-Completion-Basic to alt+."), I got nothing. While in eclispe I will get this:
2) How to display all the counstructor of a class as this:
3) the format(I use the Ctrl+Shift+F).
For this kind of codes:
In eclipse it will format the line as one line to this:
IDEA does not. I have to delete the "\n" manually.
I have googled for all of the above questions, but I got no answer(maybe by my wrong search keys).
I hope someone can help me .