GitHub Copilot AI features in Visual Studio BEYOND "just writing code"
Read full transcript 13 segments
-
hey friends I was doing some stuff on my hey friends I was doing some stuff on my website recently I was working on uh website recently I was working on uh website recently I was working on uh upgrading my blog in my website uh to upgrading my blog in my website uh to upgrading my blog in my website uh to net 8 and I was using uh co-pilot you net 8 and I was using uh co-pilot you net 8 and I was using uh co-pilot you know Visual Studio co-pilot for some of know Visual Studio co-pilot for some of know Visual Studio co-pilot for some of this stuff and I was noticing that I this stuff and I was noticing that I this stuff and I was noticing that I maybe was using it wrong and there are maybe was using it wrong and there are maybe was using it wrong and there are different things beyond the basics like different things beyond the basics like different things beyond the basics like the basics of what I uh have learned uh the basics of what I uh have learned uh the basics of what I uh have learned uh that I wanted to explore so we'll see that I wanted to explore so we'll see that I wanted to explore so we'll see I'm just kind of goofing around here but I'm just kind of goofing around here but I'm just kind of goofing around here but it was interesting to me so first let's it was interesting to me so first let's it was interesting to me so first let's pick myself up and I'll put me over here pick myself up and I'll put me over here pick myself up and I'll put me over here so this is the source code for the so this is the source code for the so this is the source code for the Hansel minut blog so that's that's uh Hansel minut blog so that's that's uh Hansel minut blog so that's that's uh this blog right here so take a look at this blog right here so take a look at this blog right here so take a look at my my blog rather my podcast site take a my my blog rather my podcast site take a my my blog rather my podcast site take a look at it it's a good show lots of cool look at it it's a good show lots of cool look at it it's a good show lots of cool people on the show and uh I upgraded it people on the show and uh I upgraded it people on the show and uh I upgraded it recently to.net to.net 8 and uh you know you can see the commit 8 and uh you know you can see the commit 8 and uh you know you can see the commit number and the build number what I what number and the build number what I what number and the build number what I what I did so when I am doing work like that I did so when I am doing work like that I did so when I am doing work like that usually I'll I'll go over here in the usually I'll I'll go over here in the usually I'll I'll go over here in the corner where I'm logged into GitHub corner where I'm logged into GitHub corner where I'm logged into GitHub co-pilot see where it says it's active co-pilot see where it says it's active co-pilot see where it says it's active I'll click on it and I'll say open chat I'll click on it and I'll say open chat I'll click on it and I'll say open chat window and you can go in here and you window and you can go in here and you window and you can go in here and you can set like threads so usually I have can set like threads so usually I have can set like threads so usually I have like a couple of things that I'm doing like a couple of things that I'm doing like a couple of things that I'm doing at a time so I'll have named threads at a time so I'll have named threads at a time so I'll have named threads I'll have um like one was migrating to I'll have um like one was migrating to I'll have um like one was migrating to from 6et 6 toet 8 uh I've got one that's from 6et 6 toet 8 uh I've got one that's from 6et 6 toet 8 uh I've got one that's ongoing work I'm doing in Docker in for ongoing work I'm doing in Docker in for ongoing work I'm doing in Docker in for playwright tests another one was getting
-
playwright tests another one was getting playwright tests another one was getting Azure devops to do some stuff that I Azure devops to do some stuff that I Azure devops to do some stuff that I wanted it to do so you can go and say wanted it to do so you can go and say wanted it to do so you can go and say create new thread name the threads and create new thread name the threads and create new thread name the threads and uh then I was noticing that there is uh uh then I was noticing that there is uh uh then I was noticing that there is uh Slash Slash Slash commands and slash commands are commands and slash commands are commands and slash commands are interesting it's kind of like if you interesting it's kind of like if you interesting it's kind of like if you remember if you're old if you remember remember if you're old if you remember remember if you're old if you remember like IRC and things like that we can go like IRC and things like that we can go like IRC and things like that we can go like slash op uh and or slash KCK so like slash op uh and or slash KCK so like slash op uh and or slash KCK so here you can say like slash do or SL here you can say like slash do or SL here you can say like slash do or SL explain uh with selected code and that explain uh with selected code and that explain uh with selected code and that was really interesting and then when I was really interesting and then when I was really interesting and then when I say selected code that means that you say selected code that means that you say selected code that means that you would select this and say explain slash would select this and say explain slash would select this and say explain slash explain explain explain oops got two windows open oops got two windows open oops got two windows open here and it's going to use the selected here and it's going to use the selected here and it's going to use the selected code to do that and it actually says the code to do that and it actually says the code to do that and it actually says the selected code which is cool because it selected code which is cool because it selected code which is cool because it reminds you that um it can only see the reminds you that um it can only see the reminds you that um it can only see the pit of cont text that you want to give pit of cont text that you want to give pit of cont text that you want to give it so it's explaining the whole process it so it's explaining the whole process it so it's explaining the whole process this is usually how I interact with this is usually how I interact with this is usually how I interact with co-pilot I think it's the typical way co-pilot I think it's the typical way co-pilot I think it's the typical way people interact with large language people interact with large language people interact with large language models you might be pasting your code models you might be pasting your code models you might be pasting your code into chat GPT or using something like into chat GPT or using something like into chat GPT or using something like that and around here somewhere I've got that and around here somewhere I've got that and around here somewhere I've got my my my duck I do rubber ducking where did my duck I do rubber ducking where did my duck I do rubber ducking where did my rubber duck go so because I work for rubber duck go so because I work for rubber duck go so because I work for Microsoft there's my Borg duck so rubber Microsoft there's my Borg duck so rubber Microsoft there's my Borg duck so rubber duck debugging is when you call your duck debugging is when you call your duck debugging is when you call your friend and you want to brainstorm a friend and you want to brainstorm a friend and you want to brainstorm a problem with them so the rubber duck you problem with them so the rubber duck you problem with them so the rubber duck you just explain your problem so rubber duck
-
just explain your problem so rubber duck just explain your problem so rubber duck debugging is I'm trying to convert uh debugging is I'm trying to convert uh debugging is I'm trying to convert uh net6 to8 and then in the explaining uh net6 to8 and then in the explaining uh net6 to8 and then in the explaining uh the duck doesn't do anything you explain the duck doesn't do anything you explain the duck doesn't do anything you explain it and the in the explaining your brain it and the in the explaining your brain it and the in the explaining your brain figures it out I use co-pilot to rubber figures it out I use co-pilot to rubber figures it out I use co-pilot to rubber duck debug I will brainstorm with it duck debug I will brainstorm with it duck debug I will brainstorm with it most people will ask it a basic question most people will ask it a basic question most people will ask it a basic question and then if they don't like the answer and then if they don't like the answer and then if they don't like the answer they kind of they kind of they kind of stop um what I like to do is get a stop um what I like to do is get a stop um what I like to do is get a little more into it and and get a little little more into it and and get a little little more into it and and get a little bit more conversational so you build up bit more conversational so you build up bit more conversational so you build up context so for example let me move this context so for example let me move this context so for example let me move this off to the side and then I'll put myself off to the side and then I'll put myself off to the side and then I'll put myself over over over here I might say something like cool comma tell me more about the like cool comma tell me more about the setup Method All right so then it breaks that Method All right so then it breaks that down and I'm you know I'm talking to a down and I'm you know I'm talking to a down and I'm you know I'm talking to a duck in this context and giving it an duck in this context and giving it an duck in this context and giving it an idea of what I want to idea of what I want to idea of what I want to do is this modern idiomatic net you know do is this modern idiomatic net you know do is this modern idiomatic net you know do you think I might want to do do you think I might want to do do you think I might want to do something as I upgrade this to net 8 so it's like yes the code you have is 8 so it's like yes the code you have is quite modern idiomatic but there's quite modern idiomatic but there's quite modern idiomatic but there's always opportunities so you know it's always opportunities so you know it's always opportunities so you know it's making suggestions about things that I making suggestions about things that I making suggestions about things that I could do it's showing a before and after could do it's showing a before and after could do it's showing a before and after whether or not it would benefit from whether or not it would benefit from whether or not it would benefit from HTTP 3 so I you know I go back and forth HTTP 3 so I you know I go back and forth HTTP 3 so I you know I go back and forth but this isn't necessarily intuitive the
-
but this isn't necessarily intuitive the but this isn't necessarily intuitive the whole you know chat with your with your whole you know chat with your with your whole you know chat with your with your code thing isn't necessarily obvious so code thing isn't necessarily obvious so code thing isn't necessarily obvious so you can get rid of that just push it you can get rid of that just push it you can get rid of that just push it away and go back to the visual studio away and go back to the visual studio away and go back to the visual studio that that you like um but you could be that that you like um but you could be that that you like um but you could be in somewhere like this and you can in somewhere like this and you can in somewhere like this and you can rightclick and then do inline co-pilot rightclick and then do inline co-pilot rightclick and then do inline co-pilot so you see here this pink line just so you see here this pink line just so you see here this pink line just appeared I'll do I'll do that again see appeared I'll do I'll do that again see appeared I'll do I'll do that again see those pink right there that's saying those pink right there that's saying those pink right there that's saying that we're talking about this scope that we're talking about this scope that we're talking about this scope we're not asking a question about we're not asking a question about we're not asking a question about everything we're asking a question just everything we're asking a question just everything we're asking a question just about this thing here and you could even about this thing here and you could even about this thing here and you could even go and say well hang on I want to not go and say well hang on I want to not go and say well hang on I want to not talk about that I want to talk about talk about that I want to talk about talk about that I want to talk about this file plus that are these tests this file plus that are these tests this file plus that are these tests affected by this setup right so it says yes the selenium setup right so it says yes the selenium tests are affected by the setup and tests are affected by the setup and tests are affected by the setup and playright test because of the way it's playright test because of the way it's playright test because of the way it's using that server Factory right so it it using that server Factory right so it it using that server Factory right so it it literally walks me through it and then literally walks me through it and then literally walks me through it and then it says continue in the chat window so it says continue in the chat window so it says continue in the chat window so there's no chat window over on the side there's no chat window over on the side there's no chat window over on the side there there's just this chunk there's there there's just this chunk there's there there's just this chunk there's this um this inline chat and that's cool this um this inline chat and that's cool this um this inline chat and that's cool and it gives me some suggested and it gives me some suggested and it gives me some suggested follow-ups and stuff like that and it follow-ups and stuff like that and it follow-ups and stuff like that and it gets smarter as we go along and then gets smarter as we go along and then gets smarter as we go along and then again I have those same slash commands again I have those same slash commands again I have those same slash commands trying to zoom in on that there we go to trying to zoom in on that there we go to trying to zoom in on that there we go to show you those okay show you those okay show you those okay um but there's stuff that I think people um but there's stuff that I think people um but there's stuff that I think people really aren't aren't really aren't aren't really aren't aren't using so let's go and look at something
-
using so let's go and look at something using so let's go and look at something else let's find a chunk of code let's think about code let's think about something so this is cool so like here something so this is cool so like here something so this is cool so like here would be like a here let's do get shows would be like a here let's do get shows would be like a here let's do get shows that's more interesting okay so get that's more interesting okay so get that's more interesting okay so get shows gets the shows out of the database shows gets the shows out of the database shows gets the shows out of the database it's pretty probably just not a good it's pretty probably just not a good it's pretty probably just not a good example because it's pretty not example because it's pretty not example because it's pretty not controversial I right click and do find controversial I right click and do find controversial I right click and do find all all all references you can see that get shows uh references you can see that get shows uh references you can see that get shows uh is used you know is referenced eight is used you know is referenced eight is used you know is referenced eight times throughout the application so if I times throughout the application so if I times throughout the application so if I were going to right click on it and hit were going to right click on it and hit were going to right click on it and hit rename that would be a refactor so rename that would be a refactor so rename that would be a refactor so that's going to go and update all the that's going to go and update all the that's going to go and update all the references apparently I missed one nine references apparently I missed one nine references apparently I missed one nine references across four files so if I references across four files so if I references across four files so if I called it get shows and mean it it would called it get shows and mean it it would called it get shows and mean it it would go and update it everywhere but then go and update it everywhere but then go and update it everywhere but then there's this sparkle button right here there's this sparkle button right here there's this sparkle button right here and this is an opinion but I feel like and this is an opinion but I feel like and this is an opinion but I feel like the industry hasn't decided yet what the industry hasn't decided yet what the industry hasn't decided yet what they they they want AI to mean is it Sparkles is it a want AI to mean is it Sparkles is it a want AI to mean is it Sparkles is it a co-pilot logo is it a magic wand like co-pilot logo is it a magic wand like co-pilot logo is it a magic wand like remember when um you're doing uh buckets remember when um you're doing uh buckets remember when um you're doing uh buckets and stuff and and and and selectors and and stuff and and and and selectors and and stuff and and and and selectors and eyedroppers in like Photoshop there was eyedroppers in like Photoshop there was eyedroppers in like Photoshop there was a time when we hadn't all decided what a time when we hadn't all decided what a time when we hadn't all decided what the icon was that would do the thing so the icon was that would do the thing so the icon was that would do the thing so now it's like there's the eyedropper now it's like there's the eyedropper now it's like there's the eyedropper tool or there's the magnifier glass tool tool or there's the magnifier glass tool tool or there's the magnifier glass tool or there's the 3D printed save floppy or there's the 3D printed save floppy or there's the 3D printed save floppy you know like the save floppy is like you know like the save floppy is like you know like the save floppy is like the thing that we remember uh right now the thing that we remember uh right now the thing that we remember uh right now the industry is still deciding what the the industry is still deciding what the the industry is still deciding what the what the icon is that represents AI so
-
what the icon is that represents AI so what the icon is that represents AI so this is a button here next to rename this is a button here next to rename this is a button here next to rename that I would not click on because I that I would not click on because I that I would not click on because I don't think it's intuitive what that's don't think it's intuitive what that's don't think it's intuitive what that's going to actually do is suggest because going to actually do is suggest because going to actually do is suggest because large language models are good at that large language models are good at that large language models are good at that stuff suggest hey you know maybe this stuff suggest hey you know maybe this stuff suggest hey you know maybe this isn't the right name maybe it's load isn't the right name maybe it's load isn't the right name maybe it's load shows maybe it's fetch shows and that's shows maybe it's fetch shows and that's shows maybe it's fetch shows and that's not a good example let's try one that's not a good example let's try one that's not a good example let's try one that's a little bit more more hot uh let's try a little bit more more hot uh let's try a little bit more more hot uh let's try this this this one get sponsors for show yeah so that's one get sponsors for show yeah so that's one get sponsors for show yeah so that's not really good let me find something not really good let me find something not really good let me find something that's more interesting because my code that's more interesting because my code that's more interesting because my code is not very H does Kevin Scott exist is not very H does Kevin Scott exist is not very H does Kevin Scott exist that's a test that I have test for Kevin Scott's existence have test for Kevin Scott's existence right so the idea being that if you've right so the idea being that if you've right so the idea being that if you've got crazy long insane got crazy long insane got crazy long insane um uh functions and you want to rename um uh functions and you want to rename um uh functions and you want to rename you can go and ask it to like figure out you can go and ask it to like figure out you can go and ask it to like figure out like maybe it's inure correct website like maybe it's inure correct website like maybe it's inure correct website instead of test for correct website and instead of test for correct website and instead of test for correct website and these are what they call delighters these are what they call delighters these are what they call delighters they're just little things that are they're just little things that are they're just little things that are delightful so rename suggestions not delightful so rename suggestions not delightful so rename suggestions not sure about the icon but the idea that sure about the icon but the idea that sure about the icon but the idea that you're sprinkling a little bit of like you're sprinkling a little bit of like you're sprinkling a little bit of like hey that'll save you couple seconds here hey that'll save you couple seconds here hey that'll save you couple seconds here and there that's cool and there that's cool and there that's cool um let's try if I can make more tests um let's try if I can make more tests um let's try if I can make more tests like this like this like this one one one generate four more tests like this generate four more tests like this generate four more tests like this one I don't know if that's enough one I don't know if that's enough one I don't know if that's enough information we'll find cool okay so like I'll accept
-
cool okay so like I'll accept that and then it's generated a bunch that and then it's generated a bunch that and then it's generated a bunch more uh does search work part more uh does search work part more uh does search work part two does guest exist does category exist two does guest exist does category exist two does guest exist does category exist let's see if it let's see if it let's see if it compiles okay so it compiles cool compiles okay so it compiles cool compiles okay so it compiles cool so some some generated stuff here let's so some some generated stuff here let's so some some generated stuff here let's then say that we were going to commit then say that we were going to commit then say that we were going to commit these changes so I'll go over here and we'll here and we'll say uh get say uh get say uh get changes now see what I was mentioning changes now see what I was mentioning changes now see what I was mentioning about these icons so here's a different icon this one's a pen with a sparkle on icon this one's a pen with a sparkle on it save save that and it says it's generating the that and it says it's generating the that and it says it's generating the commit message again the theory here is commit message again the theory here is commit message again the theory here is it's going to do something that is going it's going to do something that is going it's going to do something that is going to save me some to save me some to save me some time oh wow so this actually I forgot time oh wow so this actually I forgot time oh wow so this actually I forgot I've done a lot this is actually cool so I've done a lot this is actually cool so I've done a lot this is actually cool so I've done a ton of work here I thought I've done a ton of work here I thought I've done a ton of work here I thought it was just going to say added new tests it was just going to say added new tests it was just going to say added new tests so this here would have been so this here would have been so this here would have been enough but because I updated the docker enough but because I updated the docker enough but because I updated the docker file that I was talking about earlier file that I was talking about earlier file that I was talking about earlier changed the latest net hosting model um changed the latest net hosting model um changed the latest net hosting model um it has figured out all of the things so it has figured out all of the things so it has figured out all of the things so that's actually pretty cool it looked at that's actually pretty cool it looked at that's actually pretty cool it looked at the diff and generated a commit message the diff and generated a commit message the diff and generated a commit message I would have missed that I would have I would have missed that I would have I would have missed that I would have just writed written the first one so just writed written the first one so just writed written the first one so that's actually uh impressive I did not
-
that's actually uh impressive I did not that's actually uh impressive I did not expect that so again icon expect that so again icon expect that so again icon notwithstanding uh a little a little notwithstanding uh a little a little notwithstanding uh a little a little delighter a little delightful thing delighter a little delightful thing delighter a little delightful thing there that's pretty there that's pretty there that's pretty cool um let's let's do one test let me break a test let me break a test I think I have some assertions yeah 69 let's let's try this assertions yeah 69 let's let's try this I'm just totally brainstorming here uh I'm just totally brainstorming here uh I'm just totally brainstorming here uh let's see if this test works I'm going let's see if this test works I'm going let's see if this test works I'm going to right click run tests I'll bring the test Runner over tests I'll bring the test Runner over here and I'll put my s off in the corner so we just ran this test let me corner so we just ran this test let me change it to a number that's change it to a number that's change it to a number that's wrong and I'm going to just run that wrong and I'm going to just run that wrong and I'm going to just run that test test test again you can see down there in the again you can see down there in the again you can see down there in the corner that test just corner that test just corner that test just failed because on this in my test data failed because on this in my test data failed because on this in my test data here uh it here uh it here uh it expected 690 cuz that's what I asked the expected 690 cuz that's what I asked the expected 690 cuz that's what I asked the test to do and it actually got test to do and it actually got test to do and it actually got 694 694 694 okay okay okay so you can ask co-pilot about that see so look at this so this is cool that see so look at this so this is cool so here I'm not I'm invoking co-pilot
-
so here I'm not I'm invoking co-pilot so here I'm not I'm invoking co-pilot from the test Runner so it's analyze and from the test Runner so it's analyze and from the test Runner so it's analyze and fix test so it's getting the context and fix test so it's getting the context and fix test so it's getting the context and it's saying yeah the assertion will fail it's saying yeah the assertion will fail it's saying yeah the assertion will fail because clearly this is wrong it does because clearly this is wrong it does because clearly this is wrong it does not match the expected count of 690 so not match the expected count of 690 so not match the expected count of 690 so it figured it out right away and again it figured it out right away and again it figured it out right away and again what I really like about this and I what I really like about this and I what I really like about this and I think it's cool because it's something think it's cool because it's something think it's cool because it's something that people who need to be doing that people who need to be doing that people who need to be doing in um in AI generally is say why and by in um in AI generally is say why and by in um in AI generally is say why and by say why I mean where did you look like say why I mean where did you look like say why I mean where did you look like those are the references and I think those are the references and I think those are the references and I think that's really cool um all AI apps should that's really cool um all AI apps should that's really cool um all AI apps should not just say a thing it shouldn't be not just say a thing it shouldn't be not just say a thing it shouldn't be like a miracle black box that you throw like a miracle black box that you throw like a miracle black box that you throw stuff at and then an answer comes out it stuff at and then an answer comes out it stuff at and then an answer comes out it should say well given that I knew about should say well given that I knew about should say well given that I knew about these three things this is what I came these three things this is what I came these three things this is what I came up with and if maybe one of those is up with and if maybe one of those is up with and if maybe one of those is wrong I could say well don't forget to wrong I could say well don't forget to wrong I could say well don't forget to look in this other file or whatever it look in this other file or whatever it look in this other file or whatever it gives you a sense of why it did a thing gives you a sense of why it did a thing gives you a sense of why it did a thing and uh how it could make it better in and uh how it could make it better in and uh how it could make it better in the future so that's cool okay so that the future so that's cool okay so that the future so that's cool okay so that is analyze and fix tests so that was a is analyze and fix tests so that was a is analyze and fix tests so that was a rightclick on the test and then ask rightclick on the test and then ask rightclick on the test and then ask co-pilot about it so if a test co-pilot about it so if a test co-pilot about it so if a test fails that's cool okay now let's um fails that's cool okay now let's um fails that's cool okay now let's um uh sorry let's just make a we'll make a uh sorry let's just make a we'll make a uh sorry let's just make a we'll make a make a bug on purpose here let's go and make a bug on purpose here let's go and make a bug on purpose here let's go and make shows null so I'm going to cause make shows null so I'm going to cause make shows null so I'm going to cause cause a bug here so another thing I cause a bug here so another thing I cause a bug here so another thing I could do is I could go here and I could so another thing I could
-
so another thing I could do do do theoretically I could rightclick here theoretically I could rightclick here theoretically I could rightclick here and say like insert breakpoint but and say like insert breakpoint but and say like insert breakpoint but there's other breakpoints right A lot of there's other breakpoints right A lot of there's other breakpoints right A lot of people are used to hitting breakpoints I people are used to hitting breakpoints I people are used to hitting breakpoints I I know that F9 is the uh breakpoint I know that F9 is the uh breakpoint I know that F9 is the uh breakpoint button uh but there's also conditional button uh but there's also conditional button uh but there's also conditional break points there's temporary break points there's temporary break points there's temporary breakpoints there's break points that breakpoints there's break points that breakpoints there's break points that are dependent on stuff this is all good are dependent on stuff this is all good are dependent on stuff this is all good stuff people nobody knows this stuff stuff people nobody knows this stuff stuff people nobody knows this stuff because you just people don't people because you just people don't people because you just people don't people don't see the new features they don't don't see the new features they don't don't see the new features they don't think about it they don't explore it's a think about it they don't explore it's a think about it they don't explore it's a bummer actually Pro tip one of the bummer actually Pro tip one of the bummer actually Pro tip one of the things that really really really like things that really really really like things that really really really like about visual studio right now is if you about visual studio right now is if you about visual studio right now is if you hit help and go hit help and go hit help and go to um what's new this page is hot I love to um what's new this page is hot I love to um what's new this page is hot I love this whole thing this is like the best this whole thing this is like the best this whole thing this is like the best thing it's a complete list about like thing it's a complete list about like thing it's a complete list about like what's new in the what's new in the what's new in the release and it comes up like release and it comes up like release and it comes up like this so I like go through each one of this so I like go through each one of this so I like go through each one of these and look at them and these and look at them and these and look at them and see exactly what's going on I think see exactly what's going on I think see exactly what's going on I think they're really cool um so yeah you can they're really cool um so yeah you can they're really cool um so yeah you can go help uh and go what's new and learn go help uh and go what's new and learn go help uh and go what's new and learn about that which is cool all right let's about that which is cool all right let's about that which is cool all right let's go back um let's say I was going to go back um let's say I was going to go back um let's say I was going to rightclick breakpoint insert conditional rightclick breakpoint insert conditional rightclick breakpoint insert conditional breakpoint and uh like say I was going breakpoint and uh like say I was going breakpoint and uh like say I was going to to to say uh you know like maybe shows where say uh you know like maybe shows where say uh you know like maybe shows where shows is whatever look at this here this shows is whatever look at this here this shows is whatever look at this here this is yeah see that was cool just did it is yeah see that was cool just did it is yeah see that was cool just did it without asking I love that check it out without asking I love that check it out without asking I love that check it out okay so here's a okay so here's a okay so here's a condition okay I'm going to come over condition okay I'm going to come over condition okay I'm going to come over here it says where whatever is true so here it says where whatever is true so here it says where whatever is true so I'm thinking h shows equals I'm thinking h shows equals I'm thinking h shows equals whatever look just by clicking in
-
whatever look just by clicking in whatever look just by clicking in there it knows that I'm on that line it there it knows that I'm on that line it there it knows that I'm on that line it knows I'm thinking about shows not what knows I'm thinking about shows not what knows I'm thinking about shows not what I'm thinking about but it's obvious from I'm thinking about but it's obvious from I'm thinking about but it's obvious from Context co-pilots and large language Context co-pilots and large language Context co-pilots and large language models are all about context it's got models are all about context it's got models are all about context it's got about that many lines of context to about that many lines of context to about that many lines of context to think about so it's saying all right I'm think about so it's saying all right I'm think about so it's saying all right I'm going to go where shows is greater than going to go where shows is greater than going to go where shows is greater than 10 and co-pilot you know guessed that 10 and co-pilot you know guessed that 10 and co-pilot you know guessed that and then Sav that so that happened right and then Sav that so that happened right and then Sav that so that happened right when I click conditions and then clicked when I click conditions and then clicked when I click conditions and then clicked in here and then you see there's that in here and then you see there's that in here and then you see there's that sparkle again so here we've seeing that sparkle again so here we've seeing that sparkle again so here we've seeing that sparkle Stars thing so that's really sparkle Stars thing so that's really sparkle Stars thing so that's really cool so that's uh breakpoint suggestion cool so that's uh breakpoint suggestion cool so that's uh breakpoint suggestion so it's helping you know and those are so it's helping you know and those are so it's helping you know and those are just little delightful moments of you just little delightful moments of you just little delightful moments of you know Delight uh as you're kind of doing know Delight uh as you're kind of doing know Delight uh as you're kind of doing stuff okay so I just put in shows equals stuff okay so I just put in shows equals stuff okay so I just put in shows equals null we did that from before so let's go null we did that from before so let's go null we did that from before so let's go and uh run that and uh run that and uh run that test this will probably uh just throw an test this will probably uh just throw an test this will probably uh just throw an exception so I'm not going to get exception so I'm not going to get exception so I'm not going to get anything here uh let's try uh debug tests Okay cool so check this out so it tests Okay cool so check this out so it pops up a exception Throne we've all pops up a exception Throne we've all pops up a exception Throne we've all seen this before null seen this before null seen this before null reference again this is my opinion reference again this is my opinion reference again this is my opinion inconsistencies you've got we've seen a inconsistencies you've got we've seen a inconsistencies you've got we've seen a sparkle we've seen a sparkle pencil sparkle we've seen a sparkle pencil sparkle we've seen a sparkle pencil we've seen a co-pilot little man I don't we've seen a co-pilot little man I don't we've seen a co-pilot little man I don't know Marvin the Martian somebody little know Marvin the Martian somebody little know Marvin the Martian somebody little co-pilot dude um let's click ask co-pilot dude um let's click ask co-pilot dude um let's click ask co-pilot and check this
-
out and it says this error happens out and it says this error happens because the show variable is set to null because the show variable is set to null because the show variable is set to null da da da da da this might happen because da da da da da this might happen because da da da da da this might happen because the line set the show variable in null the line set the show variable in null the line set the show variable in null your tool to fix this issue you should your tool to fix this issue you should your tool to fix this issue you should probably remove the line that said shows probably remove the line that said shows probably remove the line that said shows to to to null that's still pretty cool right so I null that's still pretty cool right so I null that's still pretty cool right so I think this has helped me to think about think this has helped me to think about think this has helped me to think about what it can do uh remembering that it is what it can do uh remembering that it is what it can do uh remembering that it is statistical Model A large language model statistical Model A large language model statistical Model A large language model that is thinking about my code and code that is thinking about my code and code that is thinking about my code and code that it seen like it but I I used to that it seen like it but I I used to that it seen like it but I I used to think about it as being chat I can chat think about it as being chat I can chat think about it as being chat I can chat with the thing but there's rename with the thing but there's rename with the thing but there's rename suggestions uh it'll suggest get commit suggestions uh it'll suggest get commit suggestions uh it'll suggest get commit messages which is like the killer messages which is like the killer messages which is like the killer feature because you saw that find feature because you saw that find feature because you saw that find changes that I hadn't even thought about changes that I hadn't even thought about changes that I hadn't even thought about yet to put into my commits which is cool yet to put into my commits which is cool yet to put into my commits which is cool um there's analyzing and fixing um there's analyzing and fixing um there's analyzing and fixing tests uh there's breakpoints conditional tests uh there's breakpoints conditional tests uh there's breakpoints conditional breakpoint suggestions uh looking at an breakpoint suggestions uh looking at an breakpoint suggestions uh looking at an exception and analyzing you know what's exception and analyzing you know what's exception and analyzing you know what's potentially going on which is cool um potentially going on which is cool um potentially going on which is cool um and you know just generally like if the and you know just generally like if the and you know just generally like if the light bulb kind of good tip if the light light bulb kind of good tip if the light light bulb kind of good tip if the light bulb pops up you might want to click on bulb pops up you might want to click on bulb pops up you might want to click on the light bulb because it's thinking the light bulb because it's thinking the light bulb because it's thinking about stuff uh those things all matter about stuff uh those things all matter about stuff uh those things all matter right these little light bulbs are right these little light bulbs are right these little light bulbs are always trying to help you do things so always trying to help you do things so always trying to help you do things so that's pretty cool so anyway put in the that's pretty cool so anyway put in the that's pretty cool so anyway put in the comments uh if you've played with comments uh if you've played with comments uh if you've played with copilot all what you found that it's copilot all what you found that it's copilot all what you found that it's good at what you found it's not good at good at what you found it's not good at good at what you found it's not good at I think that if we if we think it's just I think that if we if we think it's just I think that if we if we think it's just chat and that's how you interact that's chat and that's how you interact that's chat and that's how you interact that's wrong I think it's about a back and
-
wrong I think it's about a back and wrong I think it's about a back and forth like the rubber duck example and forth like the rubber duck example and forth like the rubber duck example and it's about the little delightful things it's about the little delightful things it's about the little delightful things that know about the context so I think that know about the context so I think that know about the context so I think of it as being like a friendly partner a of it as being like a friendly partner a of it as being like a friendly partner a friendly intern who's uh who's helping friendly intern who's uh who's helping friendly intern who's uh who's helping me out and I didn't even get into like me out and I didn't even get into like me out and I didn't even get into like actually code completion or any of that actually code completion or any of that actually code completion or any of that stuff so this was I didn't even realize stuff so this was I didn't even realize stuff so this was I didn't even realize that I'm looking at uh co-pilot stuff that I'm looking at uh co-pilot stuff that I'm looking at uh co-pilot stuff that isn't just ask asking it to write that isn't just ask asking it to write that isn't just ask asking it to write code for me which is another simplistic code for me which is another simplistic code for me which is another simplistic demo or simplistic way to look at it so demo or simplistic way to look at it so demo or simplistic way to look at it so anyway let me know in the comments uh if anyway let me know in the comments uh if anyway let me know in the comments uh if you found anything cool uh that is you found anything cool uh that is you found anything cool uh that is useful about it and then uh in other useful about it and then uh in other useful about it and then uh in other videos I think I'm going to look at um videos I think I'm going to look at um videos I think I'm going to look at um uh continue. deev which is lo a local uh continue. deev which is lo a local uh continue. deev which is lo a local open source uh co-pilot in uh in air open source uh co-pilot in uh in air open source uh co-pilot in uh in air quotes and uh explore other things quotes and uh explore other things quotes and uh explore other things within Visual Studio that I may have within Visual Studio that I may have within Visual Studio that I may have actually missed catch you later
Summary
The main theme is effectively using GitHub Copilot beyond basic suggestions, specifically exploring its "slash commands" for more advanced interactions. The speaker references upgrading a .NET blog to .NET 8 and touches on Docker and Azure DevOps. The takeaway is that understanding and utilizing these advanced commands, like "/explain with selected code," can significantly enhance productivity and provide context-aware assistance from the AI.