author: cmanios draft: true date: 2017-10-17 13:14:00+03:00 slug: eclipse-vs-intellij title: Eclipse vs IntelliJ categories:
- Eclipse
- Java tags:
- eclipse
- java
- Organize imports (StackOverflow question #14716283)
- Find class and Ctrl+Space is case insensitive.
- Συνεχώς πρέπει να κάνεις Build (Ctrl+F9). Quite often we had code being pushed/committed with basic compilation errors.
- In Eclipse copying classes from a project package to another project package, fixes the package names.
- Git suppoort: worse than Netbeans
- No staging. Currently work in progress (IDEA-63391)
- Git reset is sometime working in IntelliJ.
- Copy from tooltips inside sourcecode is not possible in IntelliJ.
equals()andhashCode()autogenerated methods may throw NullPointerException.- QueryDSL and Maven does not work out of the box. IntelliJ has problems with annotation processors and is not able to see
generated-sourcesdirectory.- https://stackoverflow.com/questions/43613069/intellij-does-not-recognize-generated-sources
- https://stackoverflow.com/questions/45143135/intellij-idea-cannot-see-generated-sources-directory/47278829#47278829
- https://stackoverflow.com/questions/5170620/unable-to-use-intellij-with-a-generated-sources-folder
- https://intellij-support.jetbrains.com/hc/en-us/community/posts/206198829-maven-integration-and-directories-under-generated-sources-
- https://intellij-support.jetbrains.com/hc/en-us/community/posts/206878975-How-can-I-make-IDEA-recognize-my-generated-sources-using-Gradle-
- https://stackoverflow.com/questions/46422919/changing-querydsl-generated-files-directory
- https://blog.jdriven.com/2018/10/using-querydsl-annotation-processor-with-gradle-and-intellij-idea/
- https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000387224-Trying-to-use-maven-plugin-querydsl-maven-plugin-to-generate-sources
- http://bsideup.blogspot.com/2015/04/querydsl-with-gradle-and-idea.html
- https://groups.google.com/forum/#!topic/querydsl/FYR2GP2NeWU
- https://stackoverflow.com/questions/34837101/querydsl-maven-set-up-project
- Generated sources directories and * (asterisk in import) do not work properly:
- Download Maven sources does not work. You have to do it manually. Instead IntelliJ decompiler fires up.
- You have to learn a lot of useless keyboard shortcuts which by default work in the majority of other applications. For example, Ctrl+W to close current file, Ctrl+PageUp, Ctrl+PageDown.
- Showing Javadoc on method, class, package hover does not work by default. You have to configure it.
- Javadoc Quick documentation window does not wrap text and has always an horizontal line. Related StackOverflow question 42691347 and issue IDEA-169414.