r/ChatGPTCoding
•
u/bree_dev
•
Apr 29 '24
•
1
Resources And Tips My experience with Github Copilot vs Cursor
I tried Github Copilot's one month trial for the whole month, and at the end of it decided to give Cursor a try for one month too, since lots of people on Reddit were talking about how much better it was. (Spoiler: I did not stick with Cursor for a month)
For context, I'm an experienced developer, plenty of frameworks and languages under my belt. However, I've started a new project with Laravel, which I'm not familiar with, so I thought this would be a great candidate for an AI assistant. It's exactly the right combination of needing a hand with syntax and convention, but with enough experience to be able to (usually) spot incomplete answers or bad practices when I see it. Here's a few observations I noted down along the way:
- Neither Cursor or Copilot are great at linking the context of a question to earlier ones, but Cursor seems to be the worse of the two.
- You have to be a lot more specific and precise with instructions to Cursor, otherwise it misunderstands the assignment. Copilot seems better at inferring your meaning from a short description.
- Cursor's tone weirdly oscillates between excessive verbosity and terse standoffishness. Sometimes I'll get an overly long boring lecture about the broader topic without any code, and sometimes the whole response will be 100% code with no commentary. It doesn't feel like a natural conversation the way github copilot does. Also the amount of solution it'll provide will be haphazard - sometimes it'll produce a long output that includes everything, and sometimes it'll only give you a few lines of solution and hints at the end that there's other stuff you need to do.
- Cursor limiting the number of "fast" queries even on the $20 paid tier does make it doubly annoying when it returns a useless answer.
- Cursor's autocompletion is a trainwreck, it suggests the wrong thing so often that it actually gets in the way. It doesn't seem to even bother checking the signatures of functions in the same file that it autocompletes calls for.
- I can't see any reason why Cursor has to take over the entire environment by shipping as its own vscode build, when there's plenty of vscode plugins that integrate perfectly well with the editors while managing to just be a plugin. I had several issues getting my existing vscode project to run in Cursor even though it was literally the same project in the same directory.
Because the people recommending Cursor seemed so excited by it I assumed that I just needed to learn to tailor my prompts better for Cursor and use more of its features. So, even though it immediately stuck out as worse on the first day, I still stuck with it for two weeks before giving up entirely. I can only conclude that either the people recommending Cursor over Copilot are doing a vastly different kind of project that I'm working on, or they used some older version of Copilot that sucked, or they're shills.
TL;DR: Cursor's answers had a much lower success rate than Github Copilot's, it's more irritating to use, and it costs literally twice as much.
30
u/Mrleibniz Apr 29 '24
Lots of Cursor shills and bots in this sub I've noticed. I've tried many other tools including this but always sticked with copilot.
63
u/Eunomiac May 02 '24 edited May 02 '24
The crucial question is whether you're using GPT 3.5 or if you're paying for GPT 4. Because the former is crap, and no wonder you're suffering if you're relying on 3.5
I've been using both for months now (check my comment history if you think I'm a shill), and I like them for different things. Cursor is far better integrated into the IDE (that's why it "took over the environment", to enable such integration), and it is accumulating improvements and new features faster than Copilot is. I agree Copilot does better with autocomplete, as well as documentation, but I find that Cursor outperforms Copilot when it comes to getting answers about your entire codebase, or when you have to teach it a third-party API --- Cursor's integration of API documentation is fantastic.
As for tone and the other things you described, I think you need to put more work into your system instruction settings (where you give Cursor information it should know at all times). You can configure them by workspace, too. Here are my global ones as an example:
6
u/paradite Apr 29 '24
I uninstalled Cursor immediately after I discovered that it automatically change all my file associations to Cursor. I heard Cursor is still doing this till this day.
10
u/Eveerjr Apr 29 '24
for me the continue.dev extension blow both of them the out of the water, specially Github Copilot. The experience is just unmatched even with some bugs still. You can pair with the amazing recent open source models and put your api key from many providers for complex tasks. The shortcuts are sensible chosen, it create easy to parse diffs when doing refactoring and you have full control on how much context it uses.
Microsoft have no interest in improving copilot as a tool for developers, they want to abstract all the fun parts and make us just AI code reviewers reading endless generated bullshit, just look at they "workspace" research. Stop giving them money.
8
u/cosmicr Apr 29 '24
Thank you for this. I've been using github copilot for about 2 years now and I was wondering if the grass was greener. Happy to stick with it for a bit longer.
4
u/___Hello_World___ Apr 29 '24
I was using Cursor extensively at the beginning of this year and had great success in refactoring personal projects and writing new functions in Python. I stopped using it for a couple months and just tried it today and was very disappointed. It was generating code without properly declaring variables, assuming things were defined when they were not, getting a lot of basic stuff wrong.
Seems like some of that might be due to GPT-4 getting worse overall, but it has motivated me to try some of the other options people have mentioned in this thread.
1
u/debian3 Apr 29 '24 edited Apr 29 '24
The simple fact is:
Github Copilot: old gpt4 with knowledge cutoff of 2021 for chat + codex for autocomplete. Context size is 4k tokens.
Cursor: whatever llm you bring with a API (even the old gpt4 if that’s what you like) or gpt4 turbo and opus with their pro version. Copilot++ (autocomplete) is custom llm. I don’t like it too, but it’s beta. Codeium offer autocomplete for free and it’s better than codex. So I use that + Cursor. Context is 10k tokens.
Cursor you can also RAG your own documentation, add custom instruction for the chat (where you can control how verbose it is for example). Github Copilot support none of that.
But yeah, we are a bunch of shills and secretly love GitHub copilot with its ancient knowledge. I guess if I was rocking some PHP project I would not mind as much.
5
u/Guna1260 Professional Nerd Apr 29 '24
My experience has been the same when it comes cursor. Now a days I mostly do react, nextjs and sometimes python. I found copilot to be bit more better in autocompletion. Interestingly I found phind to be more sensible in giving answers on chats however, phind plugin sucks in auto completion. Many of the other plugins are pain to setup and always found flaky.
4
u/LovesTacoFish Apr 29 '24
I used to love Cursor up until this week. A lot of people like to point out that Cursor has built in RAG. Which is why I started to use it. But it kinda sucks. For example I was working on a project and needed to update an SDK. But Cursor kept giving me outdated code so I gave it the new documentation to index and showed it in the docs the exact page in the docs where it shows the broken changes between V1 and V2. It said sorry for the misunderstanding you are correct when I tell it to use the correct imports from the SDK, then proceeds to continue to use code from the V1 SDK.
Same goes for so called chatting with the codebase. Cursor continually tells me to look for code and to compare code with documentation even if you give it the docs to index and the file you are working on. This has become more and more frequent.
At this point I am 100% sure that to get a tool working for an type of production work I will have to build agents and a RAG solution.
2
u/brteller Feb 16 '25
Cursor has been great for complex optimizations with Laravel, I'm assuming it's gotten a lot better since you originally posted this. I honestly can't think of anything to make it better. However, I've been building these apps for 10 years since I started so it really was a tool to do harder things that took time and not a tool to learn. It's an absolute powerhouse if you already know what you're doing well.
3
u/TechnoTherapist Apr 29 '24
I'm not a 'senior' developer like a bunch of folks here, more a tech manager who still codes in react, python, etc. as a hobby:
For my part, cursor copilot++ has been a game changer as it often shows me conventions and completions that are not on my fingertips, the way they would be for the full-time devs.
Is that something that github co-pilot can do a better job at?
3
u/Tr1poD Apr 29 '24
Have you tried Cody? It's a plugin for VS code but can access all files in the project similar to Cursor. I've used all three a lot and Cody is bar far my current favourite.
0
u/productboy Apr 29 '24
no skin in the Cursor game; just works best for my use cases [where Copilot and it’s many variants have failed]… meanwhile, just installed the Bito VS Code extension on my Raspberry Pi desktop machine and it’s really good; and fast, which is surprising since it’s based on GPT-3.5
1
u/apatomusic May 02 '24
You need to be using a supermaven + cursor stack. Blows everything out of the water. Trust me. Supermaven >>> copilot by many miles
1
u/ConfidentSomewhere14 May 02 '24
Phind is the way forward. Try it out. You won't be disappointed..
1
u/geepytee Jul 19 '24
Have you tried supermaven or double.bot? Both have custom built models fine-tuned to your codebase for better autocomplete.
1
u/Alternative_Half_188 Aug 05 '24
does Copilot even allow you to apply the changes/run terminal command suggested, with a click, or you still have to copy paste? If not then that's the deal-breaker.
I never use AI autocomplete (only use AI for questions and with Cursor, give commands) so I don't even give a shit how good or bad it is.
1
u/B_Ali_k Aug 24 '24
Use sonnet 3.5 with cursor you won’t regret
1
u/iamliquidnitrogen Sep 11 '24
I tried both copilot and cursor, copilot is very slow
1
u/nickzz2352 Nov 12 '24
Now that both Copilot and Cursor have gone through updates, do you mind sharing your experience with them now? I just recently trying to explore these AI assistant for code.
1
u/namelesscreature0 Mar 10 '25
It depends on which model you used in cursor.
Isn't it?
1
u/HorseLeaf Mar 11 '25
My friend had the experience that cursor and co-pilot was worse than useless when using PHP and lavarel. He tried it in typescript and then he was blown away.
1
u/HalivudEstevez Apr 06 '25
thank you for sharing for this review/comparison. After using GitHub Copilot for a time, I have just heard of Cursor AI.
1
u/tygas Apr 15 '25
I guess you were using copilot, before copilot edits came to jetbrains. Now its different level when it can edit your files
1
u/Wolf35Nine May 08 '25
Update, OP?
1
u/Outrageous_Trifle_90 Dec 06 '25
I may be wrong but in my understanding and tests cursor is able to keep a very large context. I know it has been a whole year since the original post. But i am a junior level dev, if i may. Perhaps its because its highly imbued on the IDE and use some tricks to keep track of everything, but thats it. The models do very much the same regardless of the platform. But, as cursor can have a larger context, it does more for larger codebases. I am using if for several months now, and copilot too. It is doing a good job for me with laravel integrating alor of different services api for a project. Of course, you have to read the codes and have a previous knowledge in the framework/language. But some times it gets 2k lines coded for some pack of functions at once with several files and everything works fine. I can say i would never do some of the things that it does in seconds. Or at least would took me weeks or even months too.
1
u/diesltek710 Feb 21 '26
im aware that this post is a bit dated.. but it seems like the pricing is still relevant.. i understand tha cursor you will be hitting your limit much quicker.. and is that because of its errors, token limit, or efficiency of its instruction size perprompt?
1
u/beachandbyte Apr 29 '24
Biggest issue with copilot is no .Net debug tools, so if you in .net eco system a non starter pretty much.
1
u/0b1010011010 Apr 29 '24
Not a cursor shill just hate how much they have fumbled the bag on github copilot. Now do an in depth analysis on your github copilot experience as honest as cursor & it would be dramatically worse. They are both horrible, and cursor seems the better of the two if you learn how to use it but I still find myself using multiple different options. Sometimes it is better to jump into a new chat then go back too.
1
u/creaturefeature16 Apr 29 '24 edited Apr 29 '24
I find the difference between the two to be marginal, at best. I like Cursor's interface and overall approach to context. I had zero issues getting it going with my existing environment, it was super turn-key. I do mostly web dev, full stack.
As far as accuracy goes, LLMs are notoriously fickle, so maybe you hit Cursor on a bad day and vice-versa for others and CoPilot. It's the same models more or less under the hood on both.
I really think it's just personal preference at this point, and they are both evolving fairly rapidly.
1
u/100dude Apr 29 '24
I’m getting back to copilot
1
u/ohnoimugly Apr 30 '24
I don’t think there’s any real reason to compare Copilot to Cursor, unless I’m misunderstanding. Cursor is simply a fork of VSCode with extra features. You can still use Copilot inside of Cursor. They are not mutually exclusive. It’s like a premium version of VSCode that lets you interact with LLMs similar to Copilot, except it works with several LLMs and not just OpenAIs.
0
u/femio Apr 29 '24
I’ve done your same experiment for the past several months. My conclusion? LLMs just suck for coding. They are just fancy autocorrect and lack the actual reasoning skills to be useful.
I’ve sent Cursor some documentation, shared my code in the context, and asked it to tell me why my code is wrong. It’ll often say “because you’re not initializing the needed variable on class A. Do it like this:” then it’ll send me exactly the same code I have written line for line.
RAG is overhyped because it only gives an LLM more context to pull its output from but doesn’t make it smarter at all. Just this week I was struggling with this obscure library I wanna use for a side project and after 20 minutes of trying to get Cursor to dig into the type interfaces/docs to help me understand something it was sending me nonsense. Naturally, once I started digging on my own I figured it out.
I still prefer Cursor over anything else because it has some great features like having it generate a command in my terminal, install several packages with the flags i need, and echo out a config file all at once. The RAG is great for really basic surface-level knowledge of things that are new; your experience worked since it’s Laravel, but it won’t always be something that easy. Overall I find Cursor worth it but I’m kinda over the LLM hype in general honestly. (Maybe this rant is a little off topic)
1
u/[deleted] Apr 29 '24
[removed] — view removed comment
1
u/[deleted] Oct 01 '24
[removed] — view removed comment
1
u/[deleted] Nov 03 '24
[removed] — view removed comment
1
u/[deleted] Dec 02 '24
[removed] — view removed comment
1
u/[deleted] Dec 26 '24
[removed] — view removed comment
1
u/[deleted] Jan 06 '25
[removed] — view removed comment
1
u/[deleted] Jan 22 '25
[removed] — view removed comment
1
u/[deleted] Feb 06 '25
[removed] — view removed comment
1
u/[deleted] Mar 05 '25
[removed] — view removed comment
1
u/[deleted] Apr 04 '25
[removed] — view removed comment
1
u/[deleted] Jun 26 '25
[removed] — view removed comment
1
u/[deleted] Oct 14 '25
[removed] — view removed comment
1
u/[deleted] Jan 25 '26
[removed] — view removed comment
1
u/[deleted] Jan 30 '26
[removed] — view removed comment
0
u/[deleted] Aug 19 '24
[deleted] — view deleted comment