r/vscode • u/findurself020 • Nov 21 '23
Which AI extensions do you use in VS Code?
I assume that almost all of us use some AI extensions for VS Code. Which extensions would you highlight and what are the features that you use the most?
In my case, it's GitHub Copilot in VS Code itself, while outside of it I use ChatGPT.
Additionally, there are a bunch of features that would be nice-to-have, in my head, but I'm not sure if there's something like that on the market yet.
What kind of AI features would you like to have while coding?
0
Upvotes
23
u/Banholio Nov 21 '23
You assume too much 😀
13
u/CerberusMulti Nov 21 '23
You extrapolate quite a lot, I use no AI extensions in VS Code and doubt I ever will.
3
u/Trakeen Nov 21 '23
I was using ai genie but then they changed something with zscaler and it broke. I need to add the zscaler root ca somewhere but not sure exactly where, iirc it is something with python, i’ve fixed it for stuff i have that is javascript based
6
u/DoubleOwl7777 Nov 21 '23
honestly i havent Seen the use for it currently.
2
u/BranchLatter4294 Nov 21 '23
CoPilot (with Labs and Chat extensions).
1
u/cahaseler Nov 21 '23
Codeium for autocomplete, and AI Genie with my GPT-4 API key for chat and right-click actions. That one still wins out over Codeium even with GPT-4 for the right click on linting error "fix my problem" functionality.
2
u/Ok_Tax7037 Nov 21 '23
Copilot, but not sure if I really need to pay for it, or the other free stuff are good enough to be replaced.
2
u/aqjo Nov 22 '23
Haven’t made the jump to using an extension, but frequently use GPT4 and paste code in.
2
u/RonBiscuit Dec 28 '23
Came here to see good recommendations and discussion about the best co-pilots AI tools and found a load of AI denialisms. A copilot can 10x your coding efficiency. Companies are being born by the thousands based on this.
Yes its nice to listen to music on vinyl but I find and listen to way more with spotify.
I am using TabNine it seems great so far. It will suggest code based on sudo code in the comments i write... it is often completely correct, sometimes totally off and 5% of the time suggests something better than I was going to write.
1
u/Representative_Web96 Mar 10 '24
copilot ONLY.
1
u/codes_astro Apr 10 '24
I use Pieces for Developers
1
u/miltonian3 Apr 18 '24
I just built an extension called Extract.ai that enhances code copy functionality by smartly including dependencies and formatting them for AI models.
It's essentially what is under the hood of tools like aider and plandex that make them so powerful. Obviously there's a lot more to those awesome tools so i don't want to take away from that but this tool gives you the power of context when copying code so if you copy and paste using extract.ai, you will receive much better results than simply copying and pasting code in AI tools like chatgpt and gemini
1
u/DangerousResource557 Feb 11 '24 edited Feb 11 '24
This might be too late since a lot has changed by then. Mainly, I rely on ChatGPT for 40 requests in 3 horus, addressing various questions I have, debugging issues, or refining code. However, I find ChatGPT Plus particularly useful for generating innovative ideas or identifying low-hanging fruits; it's just quicker. And of course, I also make use of GitHub Copilot.
These days, I often start by jotting down a comment like: "# generate xyz" or write the function name, or a brief description of the function. Then, autocomplete provides a helpful template for common tasks, which I can easily modify as needed. Moreover, I receive autocomplete suggestions for all minor changes.
In my data science work, it's invaluable to document which columns are needed. Typically, I print out the column names and temporarily insert them as comments in the code. This helps Copilot understand what I'm describing, saving considerable time. Similarly, when conducting Exploratory Data Analysis (EDA), outlining the analysis goals in comments helps streamline the process. This approach ensures Copilot generates relevant plots or summaries, aligning with my objectives.
For more complex tasks, a smart workflow is essential. For instance, Sourcery automates common checks effectively. Alternatively, setting up a Librechat instance with GPT-4 Turbo via API, along with a tailored prompt, streamlines code refinement.
Documentation plays a significant role in code clarity. Ensuring clean code and clear variable names is essential. However, for substantial code changes, seeking advice before implementation is wise. Remember: regular code testing is crucial, and avoid blindly copying code snippets as you would from Stack Overflow. Although Copilot is smarter, errors may go unnoticed until later.
Additional tools I'm currently utilizing include:
- Aider (useful but pricey for extended sessions, primarily due to GPT-4 Turbo usage)
- Continue Dev (Ollama with codellama 14/34B version and openhermes for free style stuff)
- Phind plugin for VSCode, a valuable addition worth exploring, and it's free.
- perplexity.ai and their labs feature, offering CodeLlama 2 and a $5 credit for free (I have a premium subscription).
In summary, while I haven't found a perfect solution yet, I'm making progress. I'm also experimenting with Autogen and Crew AI, particularly for extensive research and preparation, which typically involves numerous Google queries.
1
u/[deleted] Feb 17 '24
https://github.com/rjmacarthy/twinny is my most used one now...
1
u/Rabidowski Mar 04 '24
So far I find the time it takes to explain what I want, revising it, telling it what it got wrong, reviewing the code it outputs etc is more time-consuming or the same as me just coding it myself.
So guess my answer?
(btw, I'm noticing many who promote using AI assistance are new to coding, so I can understand the benefit there for learning. At the same time kinda sad that this replaces learning from co-workers and peers.)