Ive been coding for about 12 years now mostly backend stuff but honestly this latest project at work is driving me up a wall. Its this massive legacy Java migration and my boss is breathing down my neck about the timeline since were based in Seattle and the competition is cutthroat right now. Ive got two months to flip this entire service and the technical debt is just... its a nightmare. Ive been using GitHub Copilot for a few months but it keeps hallucinating methods that dont exist in our internal libraries so Im starting to lose trust in it. My logic was that it would speed up the boilerplate but Im spending more time debugging the AIs fixes than just writing it myself.
So I was thinking maybe theres something better out there for actual refactoring or understanding complex logic flows? I have been looking at:
Im willing to drop like $50 a month if it actually works and saves me time. Is anyone else using something specific for legacy code mapping or deep refactoring that isnt just a glorified autocomplete? Im getting really anxious about this deadline and I feel like Im drowning in spaghetti code...
Im still relatively new to the pro dev scene, but Ive spent basically every waking hour this year testing these tools because Im obsessed with efficiency. Honestly, I had such high hopes for Copilot during my first big legacy project, but unfortunately, it was a massive letdown. It kept hallucinating imports that didnt exist in my project structure, and it felt like I was babysitting a toddler. Not as good as I expected for the price, tbh. I ended up trying to save some cash by piece-milling my setup instead of paying for five different subs:
Re: "> Ive been using GitHub Copilot for a..."
> Ive been using GitHub Copilot for a few months but it keeps hallucinating methods that dont exist in our internal libraries so Im starting to lose trust in it. ^ This. Also, if you are really worried about losing your IntelliJ setup, you probably shouldn't switch. Moving 12 years of muscle memory to a VS Code fork like Cursor is just gonna add more stress to your deadline. Honestly, just try the JetBrains AI Assistant Subscription. It costs about ten bucks a month. Since it is native to the IDE, it uses the internal indexer to understand your project structure way better than Copilot. It still messes up sometimes, but its much better at finding actual methods in your legacy code. For the heavy lifting and actual refactoring, you should look at Aider AI CLI Tool. Its a terminal-based pair programmer. You point it at your repo and tell it something like "refactor this old Java class to use the new controller pattern" and it actually goes through the files and edits them for you. It is way more effective for migration work than a sidebar chat because it handles multi-file changes and understands dependencies. There is also Tabnine Pro for Enterprise. They have a private code base awareness feature that basically trains on your specific internal libraries. If Copilot is hallucinating because it doesnt know your local stuff, Tabnine is designed to fix exactly that. It is like 25 dollars a month tho. Hang in there, legacy migrations are a nightmare but you got this... especially with the Seattle market being what it is right now.