GitHub Copilot Chat in Visual Studio 2022

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign copilot gives you new and Powerful conversational AI assistance in Visual Studio going Beyond completion it gives you insights into your code such as analysis and explanation and even fixes in some cases based on what we know about what you're doing at the time I can easily ask co-pilot questions in my natural language right in line my code it'll use the code context to come up with intelligent analysis and suggestions vs helps gather the right context and form a good question to get great answers I can get a little deeper into the conversation and drill in on any question I ask in this convenient chat window I've been asked to maintain this class basket service and I'm trying to get my head around it copilot can help and co-pilot comes back with a natural language explanation that gives me a head start I can drill into the chat with co-pilot and ask how would I call it I can get some sample calling code that will help me understand usage even more now I've been told that this particular method is troublesome sometimes so I'm going to drill in and try to understand it better I can ask copilot what does this do step by step and I'll get a clear natural language explanation I wonder if co-pilot can offer me any suggestions on what could go wrong co-pilot gives me a list of possible issues that I should think about now if I ask it help me fix those it'll actually offer code to trap the problems it identified can you fix these issues later I verified the code's working for me and I want to lock in my gains with some unit tests I'll start typing add unit and notice it offers a convenient way to ask the question I want without me typing anymore now I'll click the generate test button and copilot generates a nice set of tests even including mocking a key service now in the near future we're experimenting to take this even further now to illustrate our Direction here while I'm debugging when I'm stopped in the debugger copilot can use carefully selected parts of the knowledge that it has from that context to provide me with hints explanations of stacked traces and exceptions and even proposed fixes at the issue at hand here it proposes a fix to my code's unhandled exception that'll actually work what's helpful is that copilot has let me know that there's a property I can use to see if the response has indeed already started now with this information I can do a quick review of the new code this looks great if I wanted I could preview apply these code changes directly to the middleware and with the power of hot reload just keep going debugging my fix in place so far copilot has helped me figure out how a key class worked found issues in it helped me write tests fixed them all offered suggestions and bid my guide along the way and this is just scratching the surface of what copilot can do today and tomorrow we hope you have as much fun using it as we we've had building it foreign [Music]
Info
Channel: GitHub
Views: 144,458
Rating: undefined out of 5
Keywords: security, github, devops, owasp, codeql
Id: qQESlmIseJ8
Channel Id: undefined
Length: 3min 4sec (184 seconds)
Published: Wed Mar 22 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.