GitHub Copilot AI features in Visual Studio BEYOND "just writing code"

  Рет қаралды 37,927

Scott Hanselman

Scott Hanselman

Күн бұрын

Пікірлер: 89
@fenderjazzbrian
@fenderjazzbrian 2 ай бұрын
These kind of videos are really helpful for those of us that live in Visual Studio for much of our day.
@TheTsavoman
@TheTsavoman 2 ай бұрын
Absolutely love this video - honestly, the production quality (for it being a one person show) is incredible.. Super great deep dive here and really enjoyed this!
@EddaFredericks
@EddaFredericks Ай бұрын
enterprise-ai AI fixes this. Exploring GitHub Copilot's capabilities.
@maxaigner5322
@maxaigner5322 Ай бұрын
Lol I have seen your talks on the Microsoft Build and thought you should have your own youtube Channel just to realize that you actually have one oO - Keep up the great work and thank you for demonstrating copilot here
@farzadmf
@farzadmf 2 ай бұрын
I really wish AI was advertised like this by everyone (as a helper not a replacement); unfortunately, that's not the case
@TheStevenWhiting
@TheStevenWhiting 2 ай бұрын
Problem is sales bods are selling it to Manglement as being able to save money by replacing staff. I've even seen a Microsoft reseller claiming this. And then the other problem is, Manglement believe them.
@farzadmf
@farzadmf 2 ай бұрын
Exactly, all these layoffs, companies closing etc. because of this STUPID thing!
@shanselman
@shanselman 2 ай бұрын
@@TheStevenWhiting Agreed that's not cool and not accurate. It's a CO pilot not an AUTO pilot!
@bestehefueralle
@bestehefueralle 2 ай бұрын
Very nice video. As always, disrupting technologies bring changes of all kinds into the world, good and bad. Seeing you all curious about every corner where Copilot is really helped me consider the other side of the coin-that AI does (or is able to do) more than just harmful things.
@TCHamilton56
@TCHamilton56 2 ай бұрын
Thanks much Scott - I really appreciate your curated content and insight - many years of good stuff ++
@Dalamain
@Dalamain 2 ай бұрын
I've been meaning to try out Copilot .... 7:52 name suggestions.... I'm sold! 😃 no more second guessting if a name is a good fit.
@Dalamain
@Dalamain 2 ай бұрын
omg... commit message generation too 😍😍
@rodrigolima206
@rodrigolima206 2 ай бұрын
Very nice. I actually use the conditional breakpoint all the time. I've been using visual studio for many years now it is very nice to see how it is now. I actually use it more than VScode. Just prefererence, they are both great.
@michaelmalloy2399
@michaelmalloy2399 2 ай бұрын
I did not know about "Rename", very nice.
@MarvelousLXVII
@MarvelousLXVII 2 ай бұрын
Clicked, liked and subscribed without watching the video because of your C-64 shirt--love it!
@brandon995
@brandon995 26 күн бұрын
Having CoPilot assist me during code reviews would be a killer feature!
@unhandledexception1948
@unhandledexception1948 2 ай бұрын
Love these nuggets of insight from this channel... Grateful for you being a constant source of inspiration
@heischono4917
@heischono4917 2 ай бұрын
Perhaps "the little man" icon means the Copilot CHAT, while the sparkles icon means just suggestions without activate the chat?
@j2csharp
@j2csharp 2 ай бұрын
But, I'm trying to write the next version of Raid on Bungeling Bay for the C64! :) j/k, love the shirt, my first dev experience was creating a ski game on the C64, where you were the "H" (the guy with skis), skiing between the "*" trees, in sixth grade. Started my whole career with that game. * * * H * * *
@emmanuelduchene
@emmanuelduchene 2 ай бұрын
Nice! Would be interesting to do a parallel test of GitHub Copilot and Pieces Copilot+ (extension or app) with Live Context on to compare the performance
@shanselman
@shanselman 2 ай бұрын
good idea
@666222333111
@666222333111 2 ай бұрын
I started using AI heavily recently for all sorts of stuff and it's the smartest and dumbest thing at the same time. Wrote 450 lines of code automation script for something I needed with 0 issues just prompts, then when I asked for control flag so I can have a state it broke the entire thing and after 20 prompts still couldn't fix it.
@shanselman
@shanselman 2 ай бұрын
LOL that's so AI. Yes, humans are super needed.
@scara1701
@scara1701 2 ай бұрын
You know it's gonna be a serious talk if the glasses get taken off during the first 10 seconds. :)
@glennmayer3862
@glennmayer3862 2 ай бұрын
Where did you get that shirt? My first computer Commodore 64. Great video.
@jeffmccloud905
@jeffmccloud905 2 ай бұрын
thumb's up for the C64 shirt. POKE 53280,0 : POKE 53281,0 (the original dark mode)
@KrahsThe
@KrahsThe 2 ай бұрын
damn, long time memories locked away
@fenderjazzbrian
@fenderjazzbrian 2 ай бұрын
I won’t even say how long it’s been since I thought about PEEK and POKE
@jeffmccloud905
@jeffmccloud905 2 ай бұрын
@@fenderjazzbrian I don't remember any PEEK values, but the two POKEs above that change the border and screen color have been burned into my brain since 1983. I also remember that PRINT CHR$(147) would clear the screen
@shashankkaul
@shashankkaul 2 ай бұрын
Hey @shanselman, thanks for the video. Which version of copilot did you have running in this video? Individual, business or enterprise?
@carlospacheco2235
@carlospacheco2235 2 ай бұрын
Can it load the entire project into its context? For example ask it to explain the architecture of the solution
@shanselman
@shanselman 2 ай бұрын
today it can only see open tabs
@kjbetz
@kjbetz 2 ай бұрын
@@shanselman So, you're saying there's a chance!? Just open the whole solution in all the tabs!
@rolphkeune
@rolphkeune 2 ай бұрын
In a way you can, use the tag #solution in you're copilot chat... (But I don't know how they implemented this, as in how far the reach is, because from a LLM token perspective I don't think it is able to load you're compleet solution)
@shanselman
@shanselman 2 ай бұрын
@@rolphkeuneYa but for super large ones it’ll not look at function bodies (it collapses things to just interfaces, I believe, to fit the context window)
@fili275
@fili275 2 ай бұрын
Hey! So today you can check out the preview feature under Copilot Chat settings- "Enable referencing your #Solution", which is available for C#. This will allow you to use #solution as your additional context to your prompt. While this doesn't include the body of every single file (hello context windows!) it does do a pretty good heuristic of what it thinks would be most relevant to your question at hand. Give it a try and let me know how it goes? Filisha Shah PM Lead, GitHub Copilot in VS.
@m3-dev
@m3-dev 27 күн бұрын
love your shirt!!
@johnfromireland7551
@johnfromireland7551 2 ай бұрын
Lols! It definitely means sprinkle a little pixie dust!
@adamd3789
@adamd3789 2 ай бұрын
Very cool! What are you using for voice to text?
@shanselman
@shanselman 2 ай бұрын
Windows Key + H - it's built into Windows
@josephplaugher7324
@josephplaugher7324 Ай бұрын
What is this presentation software you’re using that allows you to drag your self around the screen and zoom in and out so easily? This is definitely not teams.
@andrewjensen6712
@andrewjensen6712 Ай бұрын
Love the Tshirt!
@AntonArhipov
@AntonArhipov 2 ай бұрын
Nice t-shirt!
@abhilashja8181
@abhilashja8181 Ай бұрын
As a .NET dev like me which AI tool is best for dot net programming? Copilot or ChatGPT ?
@cantis
@cantis 2 ай бұрын
Thanks Scott, you're using co-pilot the way I normally do... little extensions, completions, 'delights' etc. all very good. Your suggestion for rubber ducking on the code is good and I like the idea of asking it about idiomatic code analysis! Thanks!
@markandrews1219
@markandrews1219 Ай бұрын
Is the screen your Benq programming monitor?
@UmmarFarooqMahroof
@UmmarFarooqMahroof 2 ай бұрын
I have mini yoda plushy as my "rubber duck". Alas I do not talk to him as much as I should
@McNerdius
@McNerdius 2 ай бұрын
I have a weird (unused) german scrubber in the shape of a duck. A "Scrubber Ducky" if you will. Helps me clean the code !
@petropzqi
@petropzqi 2 ай бұрын
How did you speak in the chat vindow? Is this an extension? I've been looking al over the place for this setting.
@shanselman
@shanselman 2 ай бұрын
I press windows key + H
@socar-pl
@socar-pl 2 ай бұрын
on unrelated note: My wife recently got me P1S printer and since then I got a special regiment of hermetic sealed containers with humidity monitoring and dryers going all day long to dry them out. AMS does not go over 15% of humidty etc etc. At same time Scott casually hangs his filaments just under the TV. I wonder how they print - but maybe - just maybe - he's in luck and lives in sub-saharian like climate so kis HT does not go up that much as at my place. =)
@shanselman
@shanselman 2 ай бұрын
I live in Oregon. AMS is at 14%
@socar-pl
@socar-pl 2 ай бұрын
@@shanselman now I know where all the Sun went ;)
@ahmadkharsah
@ahmadkharsah 2 ай бұрын
This is the only video that gives me an objective justification to subscribe to Co-Pilot
@DawayneKingMusic
@DawayneKingMusic 2 ай бұрын
@Scott Henselman, I have been trying to figure out how to enable voice recognition within Visual Studio 2022, but have failed so far. How or what are you using to do that ?
@shanselman
@shanselman 2 ай бұрын
Windows Key + H
@markdav-is
@markdav-is 2 ай бұрын
Nice shirt!
@FrudTV
@FrudTV 2 ай бұрын
Thanks Scott!
@marcobaccaro
@marcobaccaro Ай бұрын
Is it cool that the tools write code for us? That's the end of software craftsmanship: the IDE reading your code and explaining it to you in English. For big companies, replacing and reducing employees radically, perhaps, for the engineers, not really.
@jnobile
@jnobile 2 ай бұрын
Love all the neat new feaures in copilot. Most relatable part though was when you *reran* the test after fixing it to be fully green again. :chefs-kiss:
@jnobile
@jnobile 2 ай бұрын
Every time Scott puts AI icon chaos on blast, some part of a person on the VS team dies a little inside knowing they fought the good fight and lost to the marketing folks.
@jnobile
@jnobile 2 ай бұрын
recent happy moment with copilot was pretty simple, but delightful. I was just looking to see if two sets intersected and had a `x.Any(y => y.Contains(x))` and thought "there must be a better way" so asked copilot and sure enough: `x.Overlaps(y)`. There is so much in LINQ and it keeps getting better, so I am happy copilot is there to help me keep learning.
@Joe-SoftwareEngineer
@Joe-SoftwareEngineer 2 ай бұрын
How did you get the `#` button in `Git Changes\Enter Message` ? My VS only has the Copilot button.
@GertZA
@GertZA 2 ай бұрын
It's a pity my work doesn't allow for GitHub Copilot because of privacy concerns
@shanselman
@shanselman 2 ай бұрын
Interesting. What are their concerns? How can I help
@markvader
@markvader 2 ай бұрын
I'm in a similar situation, it's always a paranoia that company code or client code/data will leak out. It will get the okay eventually but never fast enough. I use it a lot personally and it's so valuable. Thanks for the great video, I cant wait to use the commit message generation ❤
@sabadota
@sabadota 2 ай бұрын
Would it work of you ask "explain the selected code"?
@shanselman
@shanselman 2 ай бұрын
Absolutely! You can be explicit or implicit. I’ll often select it and say “select this”
@kalan4787
@kalan4787 Ай бұрын
I've never understood the push for idiotmatic code. Unless you are actually *WANTING* your code to be easily interpretable by large, automated information aggregation models, idiotmatic code is the wrong way to go.
@juleswombat5309
@juleswombat5309 2 ай бұрын
I am now just a hobby/ retired developer , so cannot justify the subscription costs. I guess I am happy that completed my rewarding career in software. These kind of technologies will mean that only the top 5% of talented software engineers will have a career. The tech industry layoff are demonstrating that going into Software is no longer a guaranteed future career. But it has been a good ride, and I would guess that a lot of industry & society has been frustrated at all the development costs diverted into software over the last forty years.
@alirezanet
@alirezanet Ай бұрын
until it doesn't know the whole context I don't find it useful ... this is not much different than asking chat GPT but these models should automatically scan the project and understand it
@BharatKumarBellamkonda
@BharatKumarBellamkonda 2 ай бұрын
Can you ask github team stop giving too much unnecessary control to corporates. My corp disabled github chat and completion also limited to 2 or 3 lines.😢. After multiple approvals they enabled cli copilot, still getting approval for chat is such a headache, my corporate is not budging.
@ONESTTEFTEO
@ONESTTEFTEO 2 ай бұрын
Cody + Sonnet 3.5 + JetBrains Rider = Living my life a dev
@punkouter24
@punkouter24 2 ай бұрын
look at cursor ai .. github copilot is getting left in the past
@bestehefueralle
@bestehefueralle 2 ай бұрын
Getting left in the past? Copilot is still getting developed (and very very actively). I'd like to think that competition is getting tougher, and our options for AI assistants getting richer, which is always a great thing
@punkouter24
@punkouter24 2 ай бұрын
@@bestehefueralle I hope so. As a .NET dev I want github copilot to be good but right now CURSOR AI seems to be taking over.
EPISODE 4 - Scott and Mark Learn To... Pick a Programming Language
27:02
Scott Hanselman
Рет қаралды 4,8 М.
GitHub Copilot in VSCode: Top 10 Features Explained
8:44
Max Rohowsky (Max on Tech)
Рет қаралды 114 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 40 МЛН
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 70 МЛН
VS Code Is Fighting Back (RIP Cursor?)
16:12
Theo - t3․gg
Рет қаралды 199 М.
CoPilot Review: My Thoughts After 6 Months
9:45
ThePrimeagen
Рет қаралды 555 М.
I Can't BELIEVE They Let Me in Here!
23:37
Linus Tech Tips
Рет қаралды 142 М.
I Tried Every AI Coding Assistant
24:50
Conner Ardman
Рет қаралды 848 М.
GitHub Copilot Chat has now Context! (better than Cursor?)
8:01
Dev Leonardo
Рет қаралды 4,3 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 626 М.
Prompting with Copilot
14:06
Visual Studio Code
Рет қаралды 90 М.
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 706 М.