GitHub Copilot Tips for .NET Developers | .NET Conf 2023

Поделиться
HTML-код
  • Опубликовано: 14 май 2024
  • Accelerate your .NET Development in Visual Studio with GitHub Copilot Chat.
    #dotnet #dotnetconf #githubcopilot
  • НаукаНаука

Комментарии • 17

  • @mohamedfazrin4172
    @mohamedfazrin4172 6 месяцев назад +17

    We would like to see a Hybrid model Copilot where it can learn our local code with local AI engine and communicate the server for additional optimizations, that would be an ideal AI assistant for developers

    • @shirosurfer8864
      @shirosurfer8864 5 месяцев назад

      Yes I agree but I can only imagine the terrorífic amount of ram it'd take to take that much data into account for just sending one context scary

    • @rmbl349
      @rmbl349 5 месяцев назад

      @@shirosurfer8864 invest in your machine. I develop always on a high end machine. If you put a low end nvidia card into your pc, it doesn't cost that much. Currently I have a ryzen 7950, 128 GB RAM (DDR6) with an NVIDIA Geforce 3060. If you upgrade your cpu every year you save a lot of money as lon as you can use the mainboard.

    • @mohamedfazrin4172
      @mohamedfazrin4172 5 месяцев назад

      @@shirosurfer8864 Does not require that much bro, Tabnine is already doing it, only thing is their language models are good enough compared to CodexAI

  • @NAKIGOEORG
    @NAKIGOEORG 6 месяцев назад +3

    Thank you! I loved the phrase about the Copilot output: “Do not trust it until it is tested”. 😂

  • @scottbaddr4025
    @scottbaddr4025 6 месяцев назад +1

    Nice demo thanks!

  • @ThisNameNowTakenIs
    @ThisNameNowTakenIs 6 месяцев назад +1

    My biggest beef with CoPilot chat is that I often need more time to explain myself more to the AI than to do it myself. If I have 2 similar classes but with like 20 properties I would ask copilot to write a mapper between these classes. The response it gives me is how to abstractly set up an extension method.. as in
    public static MyEntity ToEntity(the MyDto dp){
    return new MyEntity(){
    Id =dto.ID
    // rest of conversion
    }
    Like for fuck sake. The rest of the conversion is what i want him to do. And then when i tell him i want to map all the possible properties as best as it can then it will still fuck up somehow. Yet when I copy paste both classes into chat gtp I get the response i expect.
    I have paid for Copilot since the start but damn chat never fails to annoy me.

    • @shirosurfer8864
      @shirosurfer8864 5 месяцев назад

      It's because the ram it takes to answer do these deterministic contexts it's huge huuuuuge I'd imagine like 500gb ram for a small project to get a right answer
      I think they really just use one class context and then a few or two more at max for each answer

    • @ThisNameNowTakenIs
      @ThisNameNowTakenIs 5 месяцев назад +1

      @@shirosurfer8864 fair enough, im just saying what makes me dislike copilot chat.
      On the other had it could be multi transactional as in.
      I request a mappint between ClassX and ClassY. Then it will request both those files and VS finds them and sends them over

  • @michaellenart1807
    @michaellenart1807 Месяц назад

    QQ - What version of .Net are you using in the demo? My GitHub CoPilot Chat response is saying: "As of the time of this response, .NET 7 has not been released yet. The latest stable version of .NET is .NET 6.0.".

  • @ferdicuyar814
    @ferdicuyar814 Месяц назад

    Sir i couldnt open coplot propting box. I tryed Alt+k, alt+/ but i couldnt open it. How did u open it?

  • @shirosurfer8864
    @shirosurfer8864 5 месяцев назад +1

    Such a handsome explaination uwu ty very much kiss kiss hehehe c:

  • @softwave4483
    @softwave4483 3 месяца назад

    Programming vs Promting and Check if Ai writes it correctly

  • @mindas121
    @mindas121 6 месяцев назад

    what about rider?

  • @Arcadenut1
    @Arcadenut1 6 месяцев назад

    That UI is terrible, please fix it. It should be in it's own window.

    • @marek19922209
      @marek19922209 6 месяцев назад +2

      you can move it to its own window if you want actually

    • @Arcadenut1
      @Arcadenut1 6 месяцев назад

      @@marek19922209 and how do you do that? When you do an ATL+/ it brings up a box that you type in a question. No close button (Escape only), you can't resize it, you can't move it. Copilot Chat is in it's own window, but not the Ask Copilot window. It's like the built the prototype for it and someone said "Ship it!". The rest of Visual Studio is very polished and great. Copilot, not so much.