I've been copy-pasting snippets into ChatGPT, but it feels pretty inefficient. I'm looking for ways to use it for refactoring legacy code and generating unit tests more naturally. Are you guys using specific VS Code extensions or particular prompt templates to keep your momentum going? How do you actually make it a seamless part of your daily dev cycle?
In my experience, I had issues with basic extensions being lowkey trash for refactoring legacy stuff, so here is my comparison:
Basically, maintaining local context is critical when refactoring legacy systems. Manual copy-pasting is highkey a productivity killer because the AI loses the structural hierarchy of ur codebase. For your situation, I would suggest checking out Cody by Sourcegraph. It handles local indexing better than basic tools. Ngl, Continue for VS Code is also a solid open-source choice if you wanna bridge your IDE with models like Anthropic Claude 3.5 Sonnet. Good luck!!
Honestly I feel you on the efficiency thing... I remember when I first started trying to automate my whole dev environment back in the day. I was so obsessed with reliability that I actually spent three days straight just cable managing my desk because I thought a messy workspace was why my code had bugs lol. I ended up buying these heavy duty zip ties and a massive under-desk tray. It looked great but then I realized I couldnt move my monitor anymore without cutting everything open. Then my cat decided the new cable tray was the perfect hammock and she actually pulled the power strip right off the wall during a huge commit. Total nightmare. Anyway lol sorry I totally went off on a tangent there.
> How do you actually make it a seamless part of your daily dev cycle? ok so i totally get the struggle... honestly copy-pasting is a mood. if you want budget options:
Following