How do I integrate ...
 
Notifications
Clear all

How do I integrate ChatGPT into my daily coding workflow?

5 Posts
6 Users
0 Reactions
282 Views
0
Topic starter

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?


5 Answers
12

In my experience, I had issues with basic extensions being lowkey trash for refactoring legacy stuff, so here is my comparison:

  • GitHub Copilot Individual vs Cursor Code Editor vs ChatGPT Plus
  • Copilot is mid autocomplete, ChatGPT requires manual pasting, but Cursor uses vector indexing for ur local codebase.
  • Best choice is Cursor Code Editor cuz it generates unit tests with actual context... gl!


11

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!!


3

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.


1

> 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:

  • Codeium for VS Code vs Tabnine Starter codeium has a solid free tier for refactoring, while tabnine free is kinda basic. i think codeium is a decent option for value cuz it keeps u in the zone for free!! idk if that works for ur legacy stuff tho?? gl


1

Following


Share: