I Cannot Believe How Good This VS Code AI Coding Assistant Is!
HTML-код
- Опубликовано: 5 сен 2024
- ✅ Give Cody a try today: sourcegraph.co...
Cody is the only AI coding assistant that knows your entire codebase.
Cody answers technical questions and writes code directly in your IDE, including VS Code, using your code graph for context and accuracy.
In this video, I'll give Cody a spin and have it help me build a Next.js React app to gamify keeping track of everyday tasks. Let's see how it does.
Sourcegraph Cody is now generally available. Go give it a try today!
_____________________________________
🦸 Become A VS Code SuperHero Today: vsCodeHero.com
🧑🏾🤝🧑🏽 Join my Discord developer community: / discord
🛠️ Tools I use:
🟠 codeSTACKr Theme: marketplace.vi...
🟠 STACKr Code Font (Exclusive to my VS Code Course - vsCodeHero.com)
🟠 SuperHero Extension Pack: marketplace.vi...
_____________________________________
💖 Show support!
PayPal: paypal.me/code...
_____________________________________
👀 Watch Next:
Playlist: Web Development For Beginners - • Web Development - Begi...
_____________________________________
🌐 Connect With Me:
Website: www.codestackr...
Twitter: / codestackr
Instagram: / codestackr
Facebook: / codestackr
_____________________________________
** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
#codeSTACKr #vscode #copilot
✅ Give Cody a try today: sourcegraph.com/cody
I wasted half a day trying to get this plugin up and running on vscode. Not ready for prime time.
@@marklong2060 really? worked in 1 click on VS code for me
it's danger be careful i deleted @@marklong2060
Its limited to 5 prompts per chat/reply although it lets you chat after the limit but it gets confused after the limit and suggests to start a new chat then you have to input what you want it to do on the previoues chat which will then spend 1 or 2 of the 5 reply limit, I'm using pro version btw.
Its ok to take money and do some ad based videos but do you really need to have all the clickbait thumbnails and titles for an ad video? Really man?
Yea I really feel that the integrity is lost with a move like that.
I’m really trying to understand your definition of clickbait.
The thumbnail implies he’s switching from code pilot to something else. (Yes, because he’s being paid, but he elaborated by saying it’s better than the other.)
What was your interpretation? 🤔
However, he lost me when he took a database he knew that was well-documented and acted like it was helpful in explaining the application. I would have preferred if he tried it on something without a readme.
Of course he needs clickbait u scrub, i mean u clicked.
hum, most pro developers don't really care about chat with AI !
They are more concerned with IntelliSense and context auto-suggestions during coding flow.
I just like to code, and copilot understand what I am doing, I just need to use the tab key in most cases!
That's the productivity I'm looking for.
All other features are a bonus but not a priority for me, and for now copilot doing the job.
Hey - I am in the same boat. Cody context-awareness is also available for the code completions. The chat is super helpful, but most of my uses are for completions and Cody does much better there for me. (disclaimer: I do work for Sourcegraph)
From the perspective of someone on training wheels, if this does have "better awareness" this might be of better use for me. I currently don't have copilot autocomplete/suggestions on as i feel that would hinder learning . Even with the newly added @workspace context i still find myself extracting code snippets and taking to chatgpt when i have a need to
@@plutack sure, Copilote is not recommended for your children or if you are just starting to learn.
It is really interesting in Research and Development or if you are an experienced dev.
It is a productivity tool, not a tool to code for you.
It is like having a colleague by your side who enriches your ideas.
In strongly typed languages, it is very effective!
Absolutely agree on this. The best way to use tools like copilot for me is the telepathy-like intellisense. It just saves tiny chunks at a time that build up to quite a lot of time saved. Also repetetive code snippets such as defining some variables are a dream. However I do have a use case of the chat side of things. Sometimes you just have this feeling that what you wrote, could be done in a better way. So then I ask, "I feel like this can be done in a better way". Sometimes the answer is good, sometimes it is horrible. But for half of the time it works, such things can save you lot's of headaches and time later on.
@@Learnbynetsorry, im confused, when people talk about copilot do they mean Microsoft copilot, Github copilot or something else? A lot of things have this name
I've tried it, but not convinced. At least the auto code suggestions are missing or not working as good as Copilot, and I feel that those are accelerating me. I've tried the chat as well, most of the time it just messed up the code (inserted the suggestion at wrong position), or used not existing variables, or generated wrong code. In summary, it is working as in your video, but Copilot is far better. Also, it triggered me to look around again, thanks. :)
Great news is that all Pro features are free till Feb, Great tool man
Your comment reads like a fake amazon review lol
Cool! I will try Cody soon. What I want from AI coding assistant: "create a complete project scaffold for the project as we have just agreed/described. Directories, files, libraries, connections (imports, exports, etc), schema, ENV, and in the files scaffold out the high level program structure with comments. Thanks AI."
I'm sure this is something that will be possible in the future, perhaps even without AI. Like if you use npx for a lot of popular frameworks, they'll scaffold an application with a lot of integrations out of the box using best practices.
Hey, I'm a big fan of your youtube channel. You always make such informative videos that teach me a lot. But I have to say, I was a bit let down by your latest video. You used a clickbait title to promote a tool that you were sponsored by. That's not cool, man. You don't need to resort to these cheap tricks to get views. You have a loyal audience that trusts you and values your content. Please don't compromise your integrity for some quick cash. Keep creating awesome content that helps people. Cheers.
Thank you for being a fan of the channel and for the feedback. I truly appreciate it! While I do have to create sponsored content in order to support my channel so that I can continue to create free content, I will NEVER accept a sponsor that I do not believe in or would not personally use the product. For this video, I do believe that Cody is a great AI assistant and the company behind it is solid. And I do actually use the product and prefer it over Copilot. Thanks again and look out for more great, helpful content coming soon!
This 100%. I unsubbed because Cody is no where near as good as copilot and the fact you need pro to use GPT4 and limited to 5 prompts haha. I'll stick with copilot.
Cool, I will give Cody a try later. Here is one thing I want a project aware AI assistant to do: "given the project description and tech stack we just arrived at, create all the directories and files, with boilerplate, connections (API, imports, schemas, etc ), and comments to outline the functions in each file. Thanks"
I'm just now checking out Cody and I gotta say, Copilot has some serious catching up to do. This is fricken awesome!
basically it's like copilot chat which is available with copilot subscription. Also copilot chat has better shortcuts
Yeah, I was going to say Cody would be better if you compare it to the Old Copilot from a Year ago, I see no advantage to copilot X (copilot chat) here
What's the privacy/IP protection like? MS are able to assure this and offer to finance any legal issues relating to this if it's determined that IP is plagiarised.
It would be nice if the /smell feature cited specific lines. It tends to give a vague reference to something to change but doesn't give any indication as to where it saw the issue. It does reference the name of the method but, not always. I saw one instance where it was suggesting that I use the string builder instead of concatenation but, I didn't see what it was talking about in my code. I thought maybe it had dug deeper into referenced files but I really couldn't find what it was talking about.
Been trying it and copilot still the reliable one . But hopefully cody will improve too both are great tool
Damn this video took off!
🚀
Pricing is not clear. Free until Feb 14th, 2024. Then what? Codeium is free for individuals. Will it be at least competitive to Jetbrains AI?
It's wild to see this rips of Copilot Chat's UI straight into another extension, leveraging the same OpenAI models, and then charging more for it. At least Aider-Chat let's you just use an API key.
"Ten stars to the engineers! I love the state of flow through the registration process."
Thank you. I like your videos ❤
Thank you! Glad you like them!
Does it understand the different between Next.js App directory and pages directory?! Its a huge pain with Copilot
It does!
You literally stole my thought. Thanks!
Copilot i used for a long time, tried bunch of other ai assistant for the whole 2023. Finally i unsubscribe from copilot 😊 . The best thing on cody is if you give access to the code base or code repo you have, after a minute when it finishes indexing, the real powers come out. It does not only become the most senior programmer on that specific code base but also take the role of project manager. Going wrong with any project is very hard with it. The only downwards of it i found is documentaion of usage is not that good and most people mistook it as another copilot alternatives. 😂. Sourcegraph team did really a good job on intellisense way better with multiple hats on like wizard coder, senior programmer and project manager.
Can you describe how you did the indexing? I can't find how to start it.
It's funny how literally Cody takes it when it lets you check the completed box and then it disables it😁
Does Cody's code smell? just wondering🤔
Thanks Jesse!
It’s actually good and it has built in code smell detection 🙌
I write safety system critical code, just a tad wary letting AI loose on my code base.
thanks, I found it useful.
Glad it helped
I wonder if Cody AI will analyze small project / 4 files, driver source/ and give some advice for improving?
Thanks. I tried it and works greats like copilot
FYI I found signing up for Cody is a total nightmare, so many issues to onboard. Lots of white screen with an error message from Sourcegraph regardless of which account I try use to sign up. This is not how it should be IMHO.
Which is better? copilot, cody, jetbrains, cursor.
Great stuff!
However, I keep getting "Request Failed: found consecutive messages with the same speaker 'assistant'" quite often.
Do you guys encounter that too?
Google Duet is blowing my mind
The more I see people use tools like this, the more I can see devs losing what little code debugging/design skills they have or not getting the practice in developing those skills to begin with. Code completion is one thing but this just reeks of copy/pasting stack overflow to me. There might be a place for this in PoC work where you want to skip a lot of the boilerplate but to turn this into production code, if you didnt already have solid understanding of code and coding practices, you would just be creating a mess for someone to clean up later.
It times out and often too slow. Copilot still better choice for me. Still too early to say just been 5 days
it looks like cursor AI. Can I install it in cursor AI?
Working with the vs plugin using wls2 for this project, it has no ability to view either my public repo nor local directory, yet it makes this claim. Am I missing something here, is there a tutorial on setting up the visibility of my project so that I can see if Cody truly works as they claim?
lol, you can't add cody to your company project) security department will not allow you to connect some 3-party AI
Thanks for the video. But what am I missing? Every time I ask Cody (in VS Code) a question about my code it tells "Unfortunately I do not actually have the capability as an AI assistant to view or access your full codebase or project files." I had the same experience with GH CoPilot. Does something need to be enabled for Cody to be able to see all of your code?
Yeah - same problem.
same problem
it is basically the same as others
Type "@workspace" before writing the prompt. It tells the copilot to consider our workspace.
Ask with reference to codebase
I dont want code asistor to create files. How me the code if it feels good i will inset it.
It can only ask 20 questions per mouth! That is such pain, rather not to touch it from beginning!
Curious how this differs with @workspace agent in copilot chat (project context wise)
its not very acurate. I go to test cody and left copilot
@workspace is a good step forward for copilot but Cody was doing this before it and has it dialed in better imo.
@@codeSTACKr what about compared to cursor?
ok i was working on my machine learning library. it is not that good and give very vague reply.
Whenever I try the Chat. It give an error "Sourcegraph Cody Gateway: unexpected status 403:{"error":"Cody Gateway access is not enabled"}. question is where you enable it for the free version? I search it mention about cody.enabled via the site-config flat in the enterprise version. Anyone know how to resolve this?
can make a video to compare it to gpt-pilot
I tried to give this a shot but it wouldn’t even run on my windows x64 install. Not sure what that is about….
Tried it with VS Code
i am using vscode and when i use graphics.h header file is is saying update include path and squggle so please help me
I prefer Codeium
failed to handle basic functions replication on first try. dunno if id call it better :P
Lovely
Are you comparing it with the most recent version of copilot?
I am! Even with the updates, this still outperforms in many cases.
I’m confused, by Copilot do people mean Microsoft’s, Github’s or another copilot?? There are several with the same name
One indexation and LLM has all your logic, passwords, settings, database names, structures etc which are stored in project. Too risky to run. Especially on commercial projects.
What;s the VSCode extension that keeps the current focus component/interface sticky to the top of the editor?
Neverrmind found it! It's a VSCode setting!! :D
Copilot is a joke. It hide sometimes and suddenly appears again
Nice content.too much base in mic configuration mutes your voice.
OMG dude that font 😅😅😅
Tried it, takes forever indexing so I stopped using it
🎯 Key Takeaways for quick navigation:
00:14 🤖 *Cody is an AI coding assistant that is more context-aware and knows your entire codebase.*
00:42 📝 *Cody provides autocomplete, AI-powered chat for code, custom and pre-built commands, and the ability to describe code smells and define custom commands.*
01:24 🆓 *Cody offers a free tier with a generous rate limit and works with various integrated development environments (IDEs).*
02:04 📚 *Cody can answer questions about code repositories, making it helpful for exploring new projects.*
03:29 🚀 *Cody can assist in creating apps, suggesting tech stacks, and providing ideas for gamification and features.*
04:11 ✅ *Cody can generate code snippets and suggestions based on your project's context.*
05:07 🛠️ *Cody can help implement code changes, suggesting imports and modifications.*
07:48 🎨 *Cody can assist with styling code and adding CSS.*
09:06 ✔️ *Cody can help fix errors and refactor code.*
12:38 ➕ *Cody can help add new functionality, such as input fields and buttons.*
16:36 🧩 *Cody can assist in adding and calling functions within code.*
18:27 🔄 *Cody can help handle state changes in code.*
19:43 📆 *Cody is generally available as of December 14th and can be used to improve code development efficiency.*
Made with HARPA AI
It explained the repo just by reading the README... I lost interest at this point.
Chatgpt is enough for me.
This should be called out of context editing. Nobody is writing code in a chat box BRO
gotsta have VS support!
Just installed on VS Code and of course it doesn't work at all.
"I'm sorry for any confusion, but as an AI developed by OpenAI, I don't have the capability to directly access your code base or any external systems. However, I can certainly help you with your code by answering questions, providing advice, and reviewing code snippets that you share with me here. If you have specific parts of your project you'd like help with, feel free to paste the code here, and I'll do my best to assist you!"
I just tried it myself, and the extension is rough. It doesn't implement many error conditions, but "turning it off and on again" seems to clear at least some "server errors"
what theme is this ??
The codeSTACKr theme :D
Is there any platform for me to provide free coding services as I want to gain some experience
Install. Its first script errors out on the first line of execution. It blames the 3rd-party library that thousands of people use daily that I am using in a totally normal fashion. When I ask it to re-write the script it just wrote incorporating suggestions, it has no idea what I'm talking about and writes a completely useless, off-topic script. When I ask a question, it asks for snippets of code that it just wrote itself. Nope. Uninstall.
Did you get paid for this promo? I don't see anything that would make me abandon copilot for this.
The whole context from the codebase and repo reminds me of a dev project I joined years ago in London, maybe 2001? Anyway day one and man I was lost in their stupid system and by day two I wanted to just shoot myself! I took another contract by day 3! So Cody, yeah... starting to use this right now.
I tried it on my project and gotta say im not impressed at all.
The choice of using GPT4 turbo is only available on Enterprise version. And it is not out yet, so I am stuck with sub-par AI for code generation. In addition, I could not find a way for it to examine my entire codebase. I will pass on Cody for now.
Check the "Generate an Embeddings Index" section of the docs. My reading of it is that free users ought to be able to index 200MB of code, Pro users up to 1G of code, and enterprise - {all}G - The extension mentions a "desktop app" that supposedly creates a local index out of private repo, but the download links don't work.
Sure seems like an early-alpha stage product, but it is very promising, and the vscode extension is OSS, so in theory the ability to create projects in vscode is within reach of a few talented dev's and their magic pull requests.
I had the same problem. Then I learned you have to click the "sparkle" button at the bottom of the chat window. Real weird place for that, but OK.
The funny part about these new AI tools is that its learning from you the entire time while you're using it. Sure, its useful, but it will replace your job one day. That day is getting closer and closer.
@@bluebull399 Good for you. It shows you have no I to start with.
I use Coduim, not VS Code. Will not bother to try this stuff on it as will not work...
Literally every request is returned with "Request failed:"..... brilliant.
I get that a bit too, not every time though, and I don't understand why it happens. But I didn't realise this was a product placement.
Come on, you can't just stop in here
Too bad you can't use it with Visual Studio. I don't use VS Code.
No VS Studio extension? that is a big no no
copilot does the same stop the cap
Wouldn't make sense if he did. He got paid for this
Vs code and copilot are both owned by Microsoft anyway lol
nice ad.
it feels slow though
UI wise it felt very flaky for me to be honest
I come to this video expecting it's another click bait stupid chat ai that pretend to be the next copilot, turns out I am right.
What color theme u are using?
It's my codeSTACKr VS Code theme :D
@@codeSTACKr thanks you
Clickbait....
How shameful...
so basically useless as any company with minimal security requirements will not allow you to expose your code to an AI tool
Yea so much for AI yet those bugs still open for most of open source projects 😂
Cody is absolutely terrible and delusional.
I did not find it useful to be honest, it's like a 5 years old junior dev behind your shoulder
Knows your entire codebase? Yeah not yet it doesn't. Guess this is something they are still working on?
This isnt even that great....it relies on mostly jetbrains products...no arduino ide etc
cody sucks. I prefer copilot
Dude this video stinks of advertising and money because an ai that is not enough can't do any qualities fully there is no need to even buy the pro version, this video is a disappointment
Corporate slaves are mad at AI tools.
They always thought that coding will be the only job left when AI takes over, but it turn out that coding is the first job to go because of AI. 😂😂
Clickbait!
Not available for Visual Studio, so utterly useless
Most Ai assistents are not available for Visual Studio only for VS Code, I have worked 25+ years with Visual Studio but recently beginning to understand that it might become obsolete in the future and all new enhanchedments are made in VS Code instead but with DevExpress the difference between is no longer as big as it used to be, still it takes some time getting used to tho
Codeium is better, and it's free.
After watching this video for 4 minutes I already know this is pretty boring and useless 😅. We developers don’t care about it!