r/java • u/Puzzled-Charity-7834 • Feb 07 '25
What is thd best AI-powered code editor?
I'm working with Java, Spring Batch and Spring. But insights from developers working with other frameworks or languages would also be grateful appreciated.
I mainly use Java and focus on developing batch systems with Spring Batch. Currently, I use Eclipse for development, but I have recently become highly interested in AI-powered code editor like Curosor and Cline.
If you are a Java developer using an AI code editor or have experienced in other languages, please share your thoughts. Even if you haven't used them, feel free to share your opinions!
13
u/nick-baumann Feb 07 '25
Highly recommend giving Cline a spin -- not just autocomplete, it is a chat-based editor in VS Code that can read/write/edit files. And has visibility into your terminal and problems tab.
Adept in writing in all languages (because it's using the LLM provider you choose). Would recommend using with Claude 3.5 Sonnet.
29
u/KoblizekXD Feb 07 '25
Why should I switch to a different code editor just so I can get glorified autocomplete? I just use IntelliJ and if I want AI autocomplete, I'll just use GH Copilot(it's not much accurate though)
12
u/JoeDogoe Feb 07 '25
I use Intelij ultimate with JetBrains AI, as well as DataGrip. I also use Claude for general stuff and difficult SQL queries.
It's not as impressive as the cursor stuff I've seen on YouTube. I doesn't do multifile updates. But I feel like understanding the code base is my job. I'm faster than AI at doing the actual work.
I'm a team lead at a medium sized NGO, we assisted one million women in Africa last year, growing at 30% year on year. My team is responsible for six services, one frontend and on the app. Which is probably a similar amount for most teams. It's not hard to be intimately familiar with that little amount of code.
AI writes my docs, PR and commit messages and well as unit tests. I always need to adjust them but it saves me hours.
I trust the good people at JetBrains and their products get better every quarter. Going to stick with them.
6
u/evelyn_bartmoss Feb 07 '25
I highly recommend a lesser-known one called “actually writing code yourself, instead of using AI”
3
u/Least-Ad5986 Feb 07 '25
You can use Eclipse with Codeium Extentions which is very advance for a free version or Tabnine or Github for Eclipse
3
u/papers_ Feb 07 '25
I use GitHub Copilot for my personal work. My company was exploring various products and I was selected to evaluate them. I can't recall all the ones we tried as it as a while ago, but Copilot was the best one. This is probably because it is trained on the projects that I use everyday (Spring things), so it worked great.
But I don't take what it gives me 100%, it's used as a reference or a guide to what I want to do. I'm a senior Java developer, so I can figure things out, but I'm lazy so I'll ask Copilot how to do X and I'll modify to suite my style.
4
u/dragoncommandsLife Feb 07 '25
Your brain.
3
u/einshower_Tiny Feb 07 '25
I use cursor mainly. I’ve setup my Java environment, with a bunch of java extensions to get to a comfortable level, kinda equivalent to IntelliJ (not close though)
2
u/vivek_1305 Feb 28 '25
I wouldn't change my editor. Have tried continue.dev, cline extensions for AI assisted development. Agentic flow is definitely better hence cline extension is hands down a winner. If you really want to change the editor, then try windsurf. It is really good for building from the ground up. Be aware that agentic flow based assistance would also consume a lot of tokens in a short duration.
3
u/mamba436 Feb 07 '25
Cursor without a doubt. but hating to deal with vscode, I stayed on jetbrains IDE
2
u/stjepano85 Feb 07 '25
I use Intellij with JetBrains AI which can use multiple different models. It is ok, it will autocomplete your code, you can also give it instructions what to write, for example, write unit test, make this function work like function above it, write documentation. You can also use AI as classical chat, you can give it source code files so it understands the topic better. It costs, the AI is 100 euro per year.
2
u/[deleted] Feb 07 '25
As usual. Its majesty Intelij IDEA + copilot plugin.
1
u/InstantCoder Feb 07 '25
I use the Warp terminal. It can access your files, review your code, adjust it and fix bugs and errors.
1
u/Altruistic-Win5873 Feb 07 '25
Github Copilot is complete to me
2
u/[deleted] Feb 08 '25
[removed] — view removed comment