After a decade of using Eclipse, I switched to IntelliJ IDEA - here is my experience
Tags: eclipse, intellijidea, java
Published: 2020-10-09 06:04:33

# Initial journey with Eclipse
When I started learning Java, I used to write code in notepad. And when I started developing a Swing UI project, I switched to NetBeans. Briefly, I also used DrJava. Only when I started writing Java code professionally, that I started using Eclipse.

Eclipse felt much better than any of the IDEs I had used previously. I was more than happy for Eclipse to autogenerate code for me for getters, setters, etc. (pre lombok days). Also, it integrated beautifully with build tools like Ant and Maven. I had integrated my local server in it and on every code change, code was automatically deployed to server. Though, over the course of time Eclipse started to feel a bit clunky and slow, but still it was the best Java IDE for me. 

# Rendezvous with IntelliJ IDEA
A lot of people suggested me to try out IntelliJ IDEA and how it is THE best Java IDE, and much better than Eclipse. I tried IntelliJ IDEA couple of times and both the times I felt lost, and abandoned the pursuit. Only recently I seriously started feeling that Eclipse is indeed very slow and it is decreasing my productivity. I was also using VSCode for frontend development during this time and started wondering why can't Java have a cool & fast IDE like VSCode. Initially, I thought of using VSCode for Java development but I wanted to give IntelliJ IDEA one more try. I downloaded community edition of IntelliJ IDEA and read this awesome guide about [Eclipse to IntelliJ IDEA migration](https://www.jetbrains.com/help/idea/migrating-from-eclipse-to-intellij-idea.html). And I took an oath that I will use IntelliJ IDEA for at least 1 week for all my professional work and will NOT use Eclipse during this week.

Initial few days was full of struggle (though Eclipse keymap on IntelliJ was a life saver!). I was struggling to use even basic features which I was so used to doing in Eclipse. And biggest challenge was to adjust to the fact that there is NO NEED TO SAVE CODE CHANGES. During that 1 week, every time I felt like a Eclipse's feature is missing, I used to google about it.

# So, what was my final verdict at the end of first week?

I was blown away!

IntelliJ IDEA is overall a much better product than Eclipse. Though it starts slow just like Eclipse, but once it has started and indexed your project, it is very fast! There is no concept of workspace, you can open multiple projects in different windows which I find much better than a workspace overflowing with multiple projects. Also, the preinstalled dark theme is much better than any dark theme of Eclipse. There are tons of code refactoring features. I can go on and on about IntelliJ IDEA..

So, If you are a Java developer and have not used IntelliJ IDEA ever, I **strongly** advise you to try it out. Do read [Eclipse to IntelliJ IDEA migration](https://www.jetbrains.com/help/idea/migrating-from-eclipse-to-intellij-idea.html) and switch to Eclipse keymap to make the transition smoother!

And I would like to thank the warhorse Eclipse who has served me for a decade! Though, there are use cases for which Eclipse is better than IntelliJ but for now Intelij fulfills my needs and I am going to use IntelliJ IDEA for my Java development!

Happy coding!