The AI-Powered VS Code Killer? Checking Out Cursor and AI Coding

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ •

  • @MilanJovanovicTech
    @MilanJovanovicTech  Місяць тому +1

    Join a community of 1000+ .NET developers: www.patreon.com/milanjovanovic
    Accelerate your Clean Architecture skills: bit.ly/3PupkOJ
    Master the Modular Monolith Architecture: bit.ly/3SXlzSt

  • @andrw8946
    @andrw8946 Місяць тому +10

    This is like a template builder.
    You use this tool and Composer to create files with generic code, and then you modify it.
    By the time you enter a prompt and fix all things you did not like, you could write the code itself. At least, this is what it looks like in the video. Maybe if I use it, I might change my opinion.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +3

      There is no chance you can write code faster than Cursor can generate it for you. Give it a try first.

    • @stochastic84
      @stochastic84 Місяць тому +2

      @@MilanJovanovicTech Absolutely you could. Your simple demo could of been done in a few minutes.

  • @ThembaMonareng
    @ThembaMonareng Місяць тому +1

    You were right Milan, I think this is one of the most important videos you've done so far. Thank you for taking the time to review the Cursor platform and for bringing to everyone's radar. Stay blessed.

  • @Sergueio
    @Sergueio Місяць тому +1

    Great video to spread the love about Cursor and AI in the coding process!
    I've been using Cursor for creating fast working code during end user sessions, mixing plain language with other formats like user stories, BDD with Gherkin, screen captures, and hand drawing sketches, with amazing results. And once you have confirmed the behaviour your customer wants/needs, you can ask to create from scratch a Modular Monolith app with the technology you want. We are just scratching the surface...🤯

  • @ayanesuarezromero4222
    @ayanesuarezromero4222 Місяць тому +1

    Having an AI assistant during the development process is an incredible feature that we should explore and evolve more and more. Thank you very much for this contribution!

  • @nithinb9671
    @nithinb9671 Місяць тому +11

    Why not create a plugin to integrate with VS Code. That would have be simpler. I like the preview feature though in Cursor.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +2

      I'm guessing it was more complicated?

    • @BadBoyNoMercy83
      @BadBoyNoMercy83 Місяць тому +1

      It was. VS code plugins have limited access to the UI. Cursor needed more control to make its awesome UX possible, so they just forked the project

    • @MarvijoSoftware
      @MarvijoSoftware Місяць тому

      Yep, BadBoy is right. Codeium and Continue for example seem to be similar, but there are some features like that tab to next change feature which you can't do with an extension in VSCode. PS: Aider is still better for me 😂

  • @GreyTaube
    @GreyTaube Місяць тому +5

    I love that you recommended anyone who wants to use it for serious work, to buy the Pro version... yet you also said in the same sentence you only used and tested the free version.
    - Did you or did you not buy the pro version at any point?
    - Do you not plan to use it yourself, since you made a video about it?

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      There's a 2 week Pro free trial, so you can check it out. I recorded this a couple weeks back, and I've upgraded to Pro of course. The free plan has too many limitations for any serious work.

  • @nwcs2
    @nwcs2 Місяць тому

    I like cursor. It really does help you with a lot of tasks. The key thing that I don’t see mentioned as much is you really need to know what you’re trying to accomplish. It won’t think for you and it won’t get context very well. The more specific and fore-thinking your prompts are the better your results.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      Definitely. I have another Cursor video coming up where I'll try to highlight these points better!

  • @SirBenJamin_
    @SirBenJamin_ Місяць тому

    What I find most amazing is that it all compiled. I can't wrap my head around how it all works.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      Why wouldn't it compile? Pretty trivial code overall

    • @SirBenJamin_
      @SirBenJamin_ Місяць тому

      @@MilanJovanovicTech my understanding is that the AI engines don't understand the compilation rules of each specific language or do they?

    • @timur2887
      @timur2887 Місяць тому

      @@SirBenJamin_ they know the rules)

  • @markhenderson5283
    @markhenderson5283 Місяць тому +5

    I don't see how this is at all that different than using VS code and copilot.

  • @j2csharp
    @j2csharp Місяць тому

    Great demo of Cursor, appreciate your review of the product. I've been curious on this Yes, support for VS2022 would be nice. Nice to see you are reviewing AI products and applying them practically for us to see.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      I've been using it for some work I'm doing, and I'm genuinely impressed

  • @tiagocastro9039
    @tiagocastro9039 Місяць тому

    As a former user of Copilot, this demo seemed a few steps forward. I consider this a really nice tool!

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      And I didn't even showcase Composer, that's the difference maker

  • @fejdraus
    @fejdraus Місяць тому +2

    This is the same VS Code. It is cheaper to connect Cody extension to VS Code, there is 9$ and a choice of LLM than here 20$ and it is not clear which LLM.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      Cheaper, but is it better? From my quick research Cursor seems to be better. I'll try it out and compare.
      You choose the LLM with Cursor -> I said I used Claude 3.5 Sonnet

  • @ChristopherBriddock
    @ChristopherBriddock Місяць тому +3

    Have you noticed, it will not let you debug the app within cursor though? VsDbg licencing only allows VSCode and Visual Studio to do this

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +2

      Yes, that sucks :/

    • @tonyhenrich6766
      @tonyhenrich6766 Місяць тому +1

      I am guessing open the same project in VS Code and Cursor at the same time and if you have to debug, switch to VS Code, reload and start debugging?

    • @Wouldntyouliketoknow2
      @Wouldntyouliketoknow2 Місяць тому

      Rider have their own debugger - I wonder if it's open source? It's crazy that dotnet runtime / libraries / code / language etc can be open source but not the means to debug applications written with it.. if you can't debug it, you can't build an IDE. It goes to show that open source is strategic not a principalled decision for dotnet. They don't want competitors in the IDE space for obvious reasons.

  • @kemalemin
    @kemalemin Місяць тому

    The burst of amazement and joy at 23:14

  • @antonmartyniuk
    @antonmartyniuk Місяць тому

    I really like what Cursor offers. I am using Rider and it has built-in Jetbrains AI (by separate price) that allows doing pretty the same, you can pass code, it has context of solution and you can apply changes in the existing files. There are also quick actions right from the Editor. I will compare how well Jetbrains will give me results compared to Cursor.
    P.S.: great T-Shirt 😆

    • @tonyhenrich6766
      @tonyhenrich6766 Місяць тому

      Rider doesn't allow you to select the model you want to use. You're stuck with whatever Jetbrains uses. Right?
      Also cursor automatically knows where to insert all the modifications in the code. In Rider and other apps, I think you have to do it manually.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      The way you apply code here is the big advantage

    • @antonmartyniuk
      @antonmartyniuk Місяць тому

      @@tonyhenrich6766 right, Jetbrains AI doesn't allow selecting AI model.
      In Rider you need to put your cursor, or highlight a piece of code you want to update and click apply in the Chat window

    • @tonyhenrich6766
      @tonyhenrich6766 Місяць тому

      @@antonmartyniuk
      Cursor is updating multiple places in the code at the same time. JS and Html like here. Rider can't do that. It's just a single location. Where the cursor is and you tell it where.

  • @alx8439
    @alx8439 Місяць тому

    Would be interesting to see the comparison with Pear AI, Continue Dev and Pythagora

  • @majormartintibor
    @majormartintibor Місяць тому +1

    Just had to come back to drop this: enter the age of PDD: Prompt Driven Development. :)

  • @majormartintibor
    @majormartintibor Місяць тому +1

    Amazing video! Thanks for this Milan. Def need to find some time to play around with Cursor and Blazor.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      I think you'll be amazed 😁

    • @majormartintibor
      @majormartintibor Місяць тому

      @@MilanJovanovicTech it already does look amazing. BTW I loved how you put emphasis on reviewing the generated code.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      @@majormartintibor I have a .NET example releasing in a week or two, I think it'll be even more mind blowing 😁

    • @majormartintibor
      @majormartintibor Місяць тому

      @@MilanJovanovicTech Looking forward to it!

  • @jwr2009
    @jwr2009 Місяць тому +3

    If you are worried about "tech debt" then perhaps you should spend more time documenting your interfaces? Cursor can index your source repos, generate documentation, and will probably know your code base better than you ever will. Seriously, some of the people on here who immediately say this has no application... you are the first person this technology replaces. We're so early in the AI software development space and agents aren't here yet. Bottom line is I've already eliminated one future developer position because the AI tools have been instant skill multipliers for my existing developers. Beware the FUD spreaders.

  • @RăzvanCănuci
    @RăzvanCănuci Місяць тому

    Nice video. I'm waiting for Cursor to be on Linux 😁

  • @cfv1982
    @cfv1982 Місяць тому +3

    I have successfully developed a highly robust and functional API using .NET 8 and a front end with Next.js within a three-week timeframe, utilizing the Cursor tool extensively throughout the coding process. In my opinion, these tools offer significant career advancement opportunities. For junior developers, they can facilitate a transition to mid-level or senior positions, while senior developers can potentially progress to architectural roles. AI-driven development represents a transformative approach that has the potential to revolutionize the software development landscape.

  • @nagibatorbatcka86
    @nagibatorbatcka86 Місяць тому +1

    Hello Milan,
    What do you think about making video about configuring communication between services via Apache Kafka ?

  • @DavidSmith-ef4eh
    @DavidSmith-ef4eh Місяць тому +2

    I never understand rest and repository pattern. how could you ever return a list of all the shortened urls. On a production app that is used widely, evne the getAll repository methd would result in running out of memory.
    Yet, every video I see repository pattern getAll without pagination or filters.

    • @GambitVil
      @GambitVil Місяць тому +2

      Video can be for study purposes, so pagination and filtering can be just omitted to save time and make less code.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      The answer is surprisingly simple: this isn't a production app. Hence I can get away with simpler implementations for the purpose of the demo.

    • @DavidSmith-ef4eh
      @DavidSmith-ef4eh Місяць тому

      @@MilanJovanovicTech sure, not critising you per se, in your demo app it makes sense to simplify it. But I buy courses that teach you advanced DDD and they still create getAll routes. Every youtube video I ever saw also does it.. It almost makes me think I am in the wrong.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      @@DavidSmith-ef4eh It's just a matter of convenience... You aren't doing anything wrong 😁

    • @ALOKSHARMAMD
      @ALOKSHARMAMD Місяць тому

      why not simply write a getpageresult extension, i think every production code already have this type of implementations.

  • @zocnute
    @zocnute Місяць тому

    Very nice, next do the backend code with cursor :-)

  • @renatogomes3457
    @renatogomes3457 Місяць тому +2

    Hi, Milan! Awesome content as always! Do you know a VSCode extension called Claude-Dev? I think it's better than Cursor. I will love if you could make a video exploring this, in a .NET context! Thanks!

  • @amnesia3490
    @amnesia3490 Місяць тому +1

    well copilot chat integrated with vscode have the same functionality, nothing fancy these AI tools are same at some point. When Its able to scan my 4k file company angular project and create template component with domain specific usage then I will be surprised..

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      Yes, cursor can do that with Composer. Showcasing how to use that in a future video.

  • @AvinashGadiraju
    @AvinashGadiraju Місяць тому

    Cursor is awesome.
    I really like you colorscheme. Which theme are you using? Any other plugins you've installed to enhance the UI?

  • @michaszura8940
    @michaszura8940 Місяць тому

    I"m mainly backend developer with some junior background with TS and Angular. I see this software as a tool for people like me - i want to focus on BE side and FE is just a nice feature to present to non-technical people, but im not sure if Cursor could be used in very complex, professional application by FE developers... What do you think?

  • @NasifsArena
    @NasifsArena Місяць тому

    Need a cursor extension in visual studio.

  • @Nation81
    @Nation81 Місяць тому

    Is it possible to direct this to an open api uri or json so that it knows the request and response object structure?

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      I've tried providing it the Open API JSON file, and yes it works like a charm :)

  • @one.pouria786
    @one.pouria786 Місяць тому +1

    I use cody extension on vs code

  • @mohideenasraf7837
    @mohideenasraf7837 25 днів тому

    Hey Milan, What about black box? Is the cursor better than black box? What do you think?

    • @MilanJovanovicTech
      @MilanJovanovicTech  24 дні тому

      Haven't tried it

    • @mohideenasraf7837
      @mohideenasraf7837 23 дні тому

      Can you please make a video with black box? It would be more helpful to understand and implement for us.

  • @DoctorPitulic
    @DoctorPitulic Місяць тому

    Nice. Did you try to apply same input in Cursor and ChatGPT for example and compare the results?

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      How do we even compare them, though? Cursor can index you entire codebase

    • @DoctorPitulic
      @DoctorPitulic Місяць тому

      @@MilanJovanovicTech Simple, from start you have 0 code. So what you imput in cursor, also imput in chat-gpt. So when code is generated both of them have your codebase all the time.

  • @jorgepedraza1275
    @jorgepedraza1275 Місяць тому

    Cross-cutting tasks to present the product. Any repo?
    Interesting is how you interact with AI to get results at your convenience. (That's the key)
    Still, Great information. Thanks.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      I shared the code on my Patreon (www.patreon.com/milanjovanovic). Have another video coming up that should be more interesting for .NET devs

    • @jorgepedraza1275
      @jorgepedraza1275 Місяць тому

      @@MilanJovanovicTech Thank you

  • @efimov90
    @efimov90 Місяць тому

    What is the difference from Cody? I tried for curiousity and i see no difference. But for sure separate IDE that focus on this functions is looking fancy

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      No idea, haven't heard of that one

    • @realsollym
      @realsollym Місяць тому

      Cody extension used the same LLM models, has the same features, and it is cheaper.

  • @stevandragovic6958
    @stevandragovic6958 Місяць тому

    Where is the difference between using Cursor, and using VSCode + chatgpt ?

  • @ДмитрийКондратенко-б5ь

    Interesting how much languages this tool supports

  • @AafaanJii
    @AafaanJii Місяць тому

    Hi can u please help in achieving load balancing in umbraco using azure app service. And also separating frontend amd back office.

  • @martinbell9289
    @martinbell9289 Місяць тому

    Text prompts aren't specific enough to create industrial quality software and I don't see how they ever could be without such verbose descriptions - which could probably be done quicker by just coding yourself.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      There is no chance you can code faster than an AI generate

  • @10Totti
    @10Totti Місяць тому

    Copilot does the same thing (maybe even better) and costs less, don't you think?

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      Can it reference other files in the solution as context? Also create 10+ files on demand? 🤔

    • @10Totti
      @10Totti Місяць тому +2

      @@MilanJovanovicTech 1 )yes, 2)never tried with so many files but I think so

  • @wadekapcsos7798
    @wadekapcsos7798 Місяць тому +1

    Interesting that it can do that but bigger applications with how systems are designed and organized with components and other things from page to page and all of those areas is where I really want to see the shine and I don’t think we even close to that.
    This will also be the fake mirage that a lot of the no code tools are promising. It’ll be OK for simple things like you demoed and people that have no clue how to write code, but your knowledge of what you just did affected how you created the prompts so anyway still cool stuff but we have a long way to go before we get to , a more polished environment does exactly what a real person would do

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      I'll showcase a more complex system next. This is just a warmup example. But I really expect folks to see past the example, and look at the broader picture and where you could find a use case for this in your workflow.

    • @wadekapcsos7798
      @wadekapcsos7798 Місяць тому

      @@MilanJovanovicTech I do see past it, going to try myself too and see how it will work. Thanks for doing your videos .

    • @wadekapcsos7798
      @wadekapcsos7798 Місяць тому

      @@MilanJovanovicTech I just messed with it with on the file side and then asked some prompts to say give me some improved ways to organize a file and it gave me a nice break down into components.. so I like that part for sure. And it also gave a nice diagram back and pane with each file and all
      That I would have expected.. sweet

  • @seanc1105
    @seanc1105 Місяць тому

    Microsoft just needs to let go of some of their hoards of cash and buy Cursor and integrate it. It's silly to try to copy this and its silly we can't debug in Cursor.

  • @StormchaserZA
    @StormchaserZA Місяць тому +2

    Crazy cool but also scary?

  • @poznavalacteski
    @poznavalacteski Місяць тому

    In terms of security,. does Cursor sends all the source code to 'their' servers or analyse it locally?
    You deliberately choose easier sample because in larger dotnet (asp mvc) projects Cursor does not have good results...
    But this is the beginning. Let's give some time to be better.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      Nah, just wanted to show a from scratch example and thought a UI would be a good fit. Have another video coming up for a non-trivial .NET project.
      "If you enable "Privacy Mode" in Cursor's settings: zero data retention will be enabled, and none of your code will ever be stored or trained on by us or any third-party."
      "If you choose to index your codebase, Cursor will upload your codebase in small chunks to our server to compute embeddings, but all plaintext code ceases to exist after the life of the request. The embeddings and metadata about your codebase (hashes, file names) may be stored in our database, but none of your code is."

  • @timur2887
    @timur2887 Місяць тому +1

    Soon there will be no software developers, only managers instead skilled enough to chat with GPT)))

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      I don't think so. But the way we develop software will evolve.

    • @seanc1105
      @seanc1105 Місяць тому +1

      I agree with @MilanJavanovicTech. AI is simply a tool like using a chainsaw instead of an ax or a spreadsheet instead of a ledger and a calculator. The people who know how to use the tool will be more valuable and more efficient - and there will be basic users of the tools and artists who make the tool do wonders - just like any other field.

  • @zachedo3538
    @zachedo3538 Місяць тому

    this is amazing for Backend Developer 🤣

  • @stephendgreen1502
    @stephendgreen1502 Місяць тому +2

    I agree the AI gives you code, but no familiarity with the code, so it will be hard for anyone else to maintain it, or get the AI to add to it later, or for you to further develop it once you forget what you did. Code but no skill. To me that looks like a fail. If it kills the skills? No more software.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      I'm guessing the reality will be skilled developers using AI to code faster. Skill will always matter.

    • @stephendgreen1502
      @stephendgreen1502 Місяць тому

      @@MilanJovanovicTech yes, that was where it was when I retired, being able to speed up coding, and if it gets better I might think of un-retiring. But I think new coders will now never really learn, and will have little idea of what code gets generated and how to debug it or maintain it. Prompts can’t do everything. Maybe the software companies will have to call us newly retired devs out of retirement if we are the only ones who can understand the code the AI generates. I doubt it.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      @@stephendgreen1502 I'm thinking along the same lines. But the industry will find a solution for this, one way or another.

    • @tonyhenrich6766
      @tonyhenrich6766 Місяць тому

      You're supposed to understand what the generated code is doing. If a developer is a backend developer for example, it's great to use a tool like this to create the UI. It's all about saving time. If you're very productive using AI tools, you'll be the last one dev in the layoffs. Think about your advantage.

  • @abdallah.medhat
    @abdallah.medhat Місяць тому

    I have used it for more than one week it’s more than amazing it can 3x fasting your work, Microsoft to late

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      I hope MSFT can catch up, I like the DX here

    • @ryan-heath
      @ryan-heath Місяць тому

      probably wont take long before VS code can do the same or via an extension

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +1

      @@ryan-heath I'm all for it

    • @samuelnettey
      @samuelnettey Місяць тому +1

      Well, since it's a fork of VS Code. It's going to be easy for them to catch up.. Just a matter of time

    • @geraldmaale
      @geraldmaale Місяць тому +1

      That's the difference between a corporation and a startup. Startups can whip up any nonsense and get going.

  • @Marcin2824
    @Marcin2824 Місяць тому

    Future of coding - entire application in one file 🤣

  • @sunzhang-d9v
    @sunzhang-d9v Місяць тому

    mac ,windows?

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому

      It's VS Code basically, so it should run just fine on Mac/Linux

  • @carlo14
    @carlo14 Місяць тому +27

    The only thing Cursor is going to help you is to become bad developer.

    • @MilanJovanovicTech
      @MilanJovanovicTech  Місяць тому +7

      You couldn't be more wrong

    • @hero3616
      @hero3616 Місяць тому

      💯

    • @gp390
      @gp390 Місяць тому

      😂😂😂😂

    • @toddmoon500
      @toddmoon500 Місяць тому +2

      I can see AI leading to a dependency on AI generated solutions. If a solution meets your criteria, there's no need to review or understand it. That would limit your knowledge and professional growth. Why learn the in's and out's of a technology if you can just generate code with AI? Without understanding a topic well enough, it would be easy to make a buggy, poorly constructed application that you don't have the knowledge to fix. Even experienced developers could become lazy and co-dependent over time.

    • @Sergueio
      @Sergueio Місяць тому

      @@toddmoon500 Please open your mind! C'mon, we developers already generate buggy, poorly constructed applications without the knowledge to fix them...! At least, AI could help us to fail much faster! And I don't know about you, but I always look the generated code and learn new things every time. It's a tool, it saves you time to apply your knowledge in a better way. Do what Milan says, give it a try!