Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

From Eclipse to IntelliJ

I know some (crazy) people want to move from IntelliJ to Eclipse. On my side, I am moving the "normal way", i.e. from Eclipse 3.3 to IntelliJ 8.0.1

I really like it, but I am a little lost sometimes.

Do you know any specific IntelliJ guide or tutorial created specifically for Eclipse users?

For example, after some tests, I missed some options usefull on Eclipse (I don't say they don't exist in IntelliJ, I just say that I didn't find them !):

  • Automatic insert at the correct position of the ';' character
  • Actions made on save (format, reorganize and clean imports)...
like image 558
Romain Linsolas Avatar asked Jan 21 '09 09:01

Romain Linsolas


People also ask

Can I import Eclipse project into IntelliJ?

You can import either an Eclipse workspace or a single Eclipse project. To do this, click Open on the Welcome Screen or select File | Open in the main menu. IntelliJ IDEA automatically detects Eclipse projects located on your computer and places them in the dedicated node right on the Welcome screen.

Can I use IntelliJ instead of Eclipse?

If you're a beginner in the field of Java development, your choice should be IntelliJ IDEA – thanks to the various beginner-friendly features it has to offer. However, if you're looking to work on large and complex projects, and have a fair bit of expertise in Java programming, you can opt for Eclipse instead.


2 Answers

Check this FAQ in the Jetbrains home page: link. It is not a guide or tutorial, but it goes through some basic concepts that Eclipse users should accustom themselves with when they move.

like image 56
Markos Fragkakis Avatar answered Oct 01 '22 15:10

Markos Fragkakis


For automatically inserting ';' at the correct position (as well as braces) the last time I've looked (probably Idea 6, maybe 7) it didn't exist. My colleagues always wonder why I insert ';' in stupid places when I'm pairing with them. I told them to notify me when this feature becomes available in Idea, but until now they didn't.

There's the two topmost related questions (see right column) covering "Things possible in A that aren't possible in B" for both directions - you might find ideas there as well as in the comments to the answers where people tell you what to alternatively do.

Edit (maybe this is better here than in the comments);

...it seems to be somewhat possible. See the comment to my answer to the related question: . One could argue that CTRL-SHIFT-ENTER is less intuitive than ';', but in Idea you get used to type a lot more of such shortcuts than in eclipse... This comes closest to the functionality you asked for. Hope it helps...

like image 35
Olaf Kock Avatar answered Oct 01 '22 15:10

Olaf Kock