Cool features in Visual Studio 2022

  Рет қаралды 65,092

Microsoft Visual Studio

Microsoft Visual Studio

Күн бұрын

For a recent conference, Mads Kristensen from the Visual Studio team delivered a presentation on his favorite new and improved features in Visual Studio 2022 v17.5 Preview 1.
0:00 Introduction
0:43 Window management
5:22 Document tabs
10:40 Color themes
12:57 AI based coding assistance
17:13 Temporary breakpoints
18:41 Navigate to source (Source Link)
20:01 Settings that give a "fresh car smell"
22:52 A smarter way to "Add New File"
26:34 The "Shifter" extension
28:48 The "VSColorOutput" extension
30:01 The "Solution Colors" extension
33:41 Microsoft Dev Box
38:02 Outro
Get started with Microsoft Dev Box here: aka.ms/devbox-blog
#visualstudio #vs2022 #MicrosoftDevBox

Пікірлер: 97
@--Eric--
@--Eric-- Жыл бұрын
Although I already knew most of the tips, this type of review is beneficial, features you don't use daily may need a reminder. Well prepared and great examples, one of your best sessions. More of these... Thanks, Mads.
@dragnilar
@dragnilar Жыл бұрын
Great presentation Mads. I've heard about Dev Box but I'm glad you took the time to show it off. We're considering it at work. 😎
@angelmhernandezsr8086
@angelmhernandezsr8086 Жыл бұрын
Thank you for this presentation; these new features are awesome. I really fell in love with Quick Add. Kudos!
@AmarKap
@AmarKap Жыл бұрын
No one gonna comment on what a nice looking Garage he has???
@drstrangebudgie4052
@drstrangebudgie4052 4 ай бұрын
It's pristine...
@keithprice3369
@keithprice3369 Жыл бұрын
I can't find the Quick Add feature in Options. And a Google search isn't helping. Where do I find it?
@markrobinson2648
@markrobinson2648 Жыл бұрын
What a fantastic video. Learned so much. Thanks for recording it.
@anomalii7720
@anomalii7720 Жыл бұрын
I like the coloring of the projects, Very nice, thanks!
@iT_dev41k
@iT_dev41k Жыл бұрын
oooh, that is amazing!! Thank you for sharing this info, that's very helpful!
@madimane
@madimane Жыл бұрын
Thanks for the demo. very handy!
@willlywillly
@willlywillly Жыл бұрын
Great video for newbie like me. Please keep making these types of videos!
@adinwashere
@adinwashere Жыл бұрын
Thanks for the extension recommendations.
@fassiltaye2771
@fassiltaye2771 Жыл бұрын
Thank you, It helps me.
@EnriqueThedy
@EnriqueThedy Жыл бұрын
Nice features! But it would be great that in the video description you put a little note about the exact version where they are first available...it's only a suggestion... Excellent job and congratulations for all the Visual Studio development team!
@visualstudio
@visualstudio Жыл бұрын
Great feedback. I've updated the description to mention the version of VS I'm using in the video.
@EnriqueThedy
@EnriqueThedy Жыл бұрын
@@visualstudio Thanks!!!😀
@rodfalanga3770
@rodfalanga3770 Жыл бұрын
Hey, Mads, thank you for this great tutorial! I tried to add the Quick Add function to VS 2022, but when I tried looking for using VS's Quick Search (Ctrl-Q) I couldn't find it. I searched using both "Quick Add" and "Add New File". Both failed. I even tried going to Tools | Options | Environment | Preview Features but couldn't find it. I have VS 2022 ver. 17.4.4. Has something changed between the time you made this video and now?
@michaelkopljan578
@michaelkopljan578 Жыл бұрын
Hi Mads, I just drop for part of AI based coding, as I saw you have enabled Co-Pilot and I just instaled it 2 days ago. Since I using VS2022 from day one I can say with 100% guarantee that suggestion comming from CoPilot and not VS as I never got it (like one you show it) till 2 days ago!
@litarea
@litarea Жыл бұрын
In my experience, I have never used copilot, but do use VS2022 and I definitely do get prompts like that.
@S3Kglitches
@S3Kglitches Жыл бұрын
true, I get some prompts but they are much slower to say at least (in base VS)
@James-zl4sl
@James-zl4sl Жыл бұрын
show tabs in multiple rows: FINALLY. how may engineers did it took you to implement that
@CodeParticles
@CodeParticles Жыл бұрын
@MicroSoft Visual Studio @Mads, Brilliant video! I've been using VS 2022 for over a year now coming from CodeBlocks x64 and love Visual Studio so so much. For the last tip, I couldn't find Solution Color option when I right click on my solution for C++? I also checked Settings -> Environment -> Fonts and Colors -> but no Solution Color option. I always have many projects open and would love to distinguish between them on the fly! Cheers~
@julian_pp
@julian_pp Жыл бұрын
Great vid!!! Thank you. Were you using Intellicode or Copilot? is it the same as in VSC?
@PEdulis
@PEdulis Жыл бұрын
Nice overview with some hints that I didn't know yet, thanks for that! One thing made me smirk a bit though: "Very very handy that I can finally see all my open files at one glance." Nice to see Visual Studio 2022 finally catches up with WndTabs for Visual C++ 6.0 that provided this feature over 20 years ago. :)
@opus5340
@opus5340 Жыл бұрын
Thanks for the good tips. But like @CodeParticles said below.... it appears that the solution color option is not available on the release version of VS2022.
@justprogrammer1234
@justprogrammer1234 Жыл бұрын
Looks like not all those features are in Community Edition. I have latest Version 17.4.3 but missing for example sort tabs by regular expression, "Quick add", ect
@kharrell8356
@kharrell8356 Жыл бұрын
Is there book mircosoft would recommend for BEGINNERS, step by step use of vs studio, for html, java, and python. Adobe has classroom book which is fantastic resource to learn how to use their products. Just saying we're not all programmers . Thanks
@zackjones8681
@zackjones8681 Жыл бұрын
I would love devbox for home developer use. I write little utility apps and something like that would be great for me.
@Lenobis
@Lenobis Жыл бұрын
The tab improvements shown here are not yet available as demonstrated, right? When I place my tabs to the left or right, the menu doesn't align with the text editor, which is especially apparent due to the colored line at the top of both areas. Tab coloring based on regexes isn't available on my machine (VS2022 17.4 Preview 5 for arm64).
@williamliu8985
@williamliu8985 Жыл бұрын
me neither. can`t find the colorize tab by regex. Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.4.0 Preview 5.0
@visualstudio
@visualstudio Жыл бұрын
They'll be in the next preview release of VS
@mariostelzner4530
@mariostelzner4530 Жыл бұрын
NO WAY! CONGRATULATIONS!! A MICROSOFT CONTACTEE! NEXT THING YOU KNOW MICROSOFT WILL BE HANDING OUT PRIZES. AHAHAHA AHAHAHA LOL
@andrewp7497
@andrewp7497 Жыл бұрын
Got the latest professional version of visual studio 2022 and don't have the Regular Expression tab colouring :( It seems its in on the preview versions!!
@MaximusIA
@MaximusIA Жыл бұрын
Merci ❤
@georgebeierberkeley
@georgebeierberkeley Жыл бұрын
I would trade all these new features for a faster compile time (such a dog now) and a Hot Reload (edit and continue) that actually worked. Still, cool features. Thanks, Mads.
@bkramber
@bkramber Жыл бұрын
Thank you very much! It' really useful! But had 2 problems. 1. For some reasons, my Visual studio doesn't understand the "ctrl+alt+up(down)" shortcut. So, I changed it for "ctrl+alt+plus(minus)" and Shifter began to work. 2. My Visual studio doesn't have feature "Quick Add', so I installed an extension.
@sulmarpl
@sulmarpl Жыл бұрын
I have the same problem in VS 17.4 Preview 6. These functions will be in the upcoming preview release of VS 17.5
@przem074
@przem074 Жыл бұрын
I have the same preview version as in the video (17.5 preview 1), yet "Quick Add" feature is still missing there,
@SniperAtWork1
@SniperAtWork1 Жыл бұрын
Does Community Edition have AI based coding assistance as well? Or Professional / Enterprise include only?
@MadsKristensen
@MadsKristensen Жыл бұрын
Community has the same as Pro/Enterprise
@iceberg1370
@iceberg1370 Жыл бұрын
It would be nice if the summary had links to the extensions
@matteoverardo8005
@matteoverardo8005 Жыл бұрын
Is there a way to highligth the variable with different colors as Notepad++ does?
@GumShoeNoir
@GumShoeNoir Жыл бұрын
Cool stuff! Thanks for the video. I learned and am using document tabs group by project, recently opened and colorized. Actually, very useful! What version of VS do I need to enable preview 'Add New File'? I have; Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.3.6 I use your extension Shift F2 now. ?Maybe I have to remove extension?
@visualstudio
@visualstudio Жыл бұрын
They will be in the upcoming preview release of VS 17.5
@Byynx
@Byynx 3 ай бұрын
Hi, you guys should add like vim, a keyshortcut to move the text caret up or down a certain ammount of lines, or move a certain ammount of words on the same line, and the same goes with selecting. You should also had an option to number the lines like vim. I know there's a vim extension but their logic like having to press a key to start to type, and other things doesn't makes sense. We can't even change the type of text caret.
@sulmarpl
@sulmarpl Жыл бұрын
Do Shifter will be work in C# code editor too?
@visualstudio
@visualstudio Жыл бұрын
All languages, including C#
@LastMomentMan
@LastMomentMan Жыл бұрын
How can we restore the old style of VS2019, where the commands are formatted in the traditional way, not in Python style ?
@gradientO
@gradientO Жыл бұрын
That's cool
@AndrewWatt-wg8sy
@AndrewWatt-wg8sy Жыл бұрын
Nice. But work on those regular expressions ;-) Also - new car smell is nice, but it's a permanent setting... most of the time you're actually going to want the state preserved so you can come back to it. Better would be a quick way to restore the project to "new car smell" using e.g. a simple shortcut key combination...Shifter has potential but a popup preview of the colour would be a good idea, particularly in hex mode.
@dharamparkashgarg5358
@dharamparkashgarg5358 Жыл бұрын
Hi I am using Visual Studio 2022 for doing a python project with a tree structure . I am unable to do absolute import and ModuleNotFoundError is coming. Also, in Visual Studio 2022, i am unable to find Run & Debug icon for launch json setting. Please help. Python and Interpreter version is same 3.11
@1510Maiv
@1510Maiv Жыл бұрын
Which extensions do you use to get "Tab to accept" and "Alt+. next" displayed?
@keyboard_g
@keyboard_g Жыл бұрын
It is built into Intellisense now. No additional install.
@cguyml
@cguyml Жыл бұрын
I guess I'll need to wait for the 17.5 release for these new features. I think the Client class should've inherited from IClient interface automatically. Then when adding properties and methods to IClient it should populate Client as well. If we're using AI, lets use it fully. Syncfusion has been doing something similar for years.
@S3Kglitches
@S3Kglitches Жыл бұрын
Ctrl+Shift+A for quick adding an item, how do you put the item in the correct project? You did not have the issue because you only had 1 project.
@hobis0b
@hobis0b Жыл бұрын
We're slowly starting to want Visual Rust.
@isaiasmachado6219
@isaiasmachado6219 Жыл бұрын
Hi. Is the chart missing in VS 2022 toolbox?
@offir711
@offir711 Жыл бұрын
Does these settings gets sync using my Microsoft account?
@lionxyz4586
@lionxyz4586 Жыл бұрын
Will we ever have the feature to be able to separate windows in output window? I want to be able to see console output at the same time as debug output.
@mariostelzner4530
@mariostelzner4530 Жыл бұрын
MAYBE YOU COULD GET A BIGGER MONITOR, SO YOU CAN DISPLAY MORE WINDOWS. OR PERHAPS, YOU COULD GET AN ADDITIONAL VIDEO CARD, WHICH MIGHT HELP TOO. THEN YOU CAN BE A REAL PROGRAMMER WITH MULTIPLE MONITORS LIKE THEY HAVE AT NASA, THE SPACE AGENCY! AHAHAHA AHAHAHA LOL
@lionxyz4586
@lionxyz4586 Жыл бұрын
@@mariostelzner4530 you can get the biggest monitor in the world but that would still not allow you to see simultaneously the output of “console output” & “debug output”. You have to choose from a drop-down menu to see individual output. My request is if we will ever be able to separate those outputs into different windows.
@sanD-xq8nb
@sanD-xq8nb Жыл бұрын
Sorry if I misunderstood, but why don't just drag the tab of the debbug window and move to the other side of the screen. All tabs are movable, you can put side by side what you need.
@c0d3_m0nk3y
@c0d3_m0nk3y Жыл бұрын
Good video but instead of trying to find the right window in a long list of tabs I recommend using Go to Files (Ctrl+Shift+T). I also recommend giving it a better shortcut like F4. Also, I'm wondering, could you have used AI to generate AddData(3); AddData(4); AddData(5);... after typing AddData(1); AddData(2)? Something like this is probably the most common use case that could use AI support.
@chezchezchezchez
@chezchezchezchez Жыл бұрын
find out?
@BoEscapes
@BoEscapes Жыл бұрын
Enable Quick Add doesn't seem to exist in the 17.4.4 version.
@jacksoncarvalho9802
@jacksoncarvalho9802 Жыл бұрын
Liked ctrl+shift+A to create class + interface together. But, the AI should understand that the class Client, in your example, is coupled with IClient, right? So, it should be public class Client : IClient
@Rygmarv
@Rygmarv Жыл бұрын
How do you add existing folders to a solution? Possibly with files inside?
@raztubes
@raztubes Жыл бұрын
There's an option to view all files and they will appear greyed out in the solution explorer. Then right click and select include or something like that. Super simple and available for a long time.
@visualstudio
@visualstudio Жыл бұрын
There's no way to add physical folders to a solution as a Solution Folder. If this is something you'd like, please vote for it here: developercommunity.visualstudio.com/t/Make-Solution-Folders-map-to-real-folder/358125?q=solution+folder&ftype=idea&stateGroup=active
@raztubes
@raztubes Жыл бұрын
If you meant how to add solution folders, then that's one of those features that, let's be honest, should have been available like 10 years ago. Time to vote i guess.
@mariostelzner4530
@mariostelzner4530 Жыл бұрын
VERY CAREFULLY! AHAHAHA AHAHAHA LOL
@S3Kglitches
@S3Kglitches Жыл бұрын
You have the AI very fast. Mine is very slow. I usually have to wait for like 3-4 seconds to show any suggestion. How do you do that?
@mariostelzner4530
@mariostelzner4530 Жыл бұрын
SPEND MEGA-BUCKS ON A SUPERCOMPUTER. THEY ARE REALLY FAST. AS A MATTER OF FACT, THEY ARE SO FAST THAT THEY COMPLETE ALL YOUR ACTIONS BEFORE YOU EVEN TYPE THEM IN. SERIOUSLY, CAN YOU REALLY PROGRAM COMPUTERS? AHAHAHA AHAHAHA LOL
@DataJuggler
@DataJuggler Жыл бұрын
6:30 I am the opposite of everyone else. I only keep a few tabs open that I need, or I get confused. I don't use AI assist.
@dliedke
@dliedke Жыл бұрын
AI will decommission all developers
@johnoldfield2390
@johnoldfield2390 Жыл бұрын
I need a business email login for microsoft dev box
@Digrient
@Digrient Жыл бұрын
I don't really believe in spending efforts on "suggest code based on English language comments", expect reasonable use cases too limited. Anything trying to be too smart ... Anyway, great and concise introduction to a number of features worth checking out, thanks!
@DerekReynolds
@DerekReynolds Жыл бұрын
Is the AI functionality different then what Co-Pilot offers ?
@visualstudio
@visualstudio Жыл бұрын
It's Co-Pilot and IntelliCode both offering their piece of the puzzle
@DerekReynolds
@DerekReynolds Жыл бұрын
@@visualstudio Oh nice! So I don't need a Github Co-Pilot license if I buy Visual Studio?
@visualstudio
@visualstudio Жыл бұрын
@@DerekReynolds You do if you wish to use Co-Pilot. IntelliCode is freely available
@mariostelzner4530
@mariostelzner4530 Жыл бұрын
CONGRATULATIONS!!!! YOU GOT A REPLY FROM SOMEONE AT MICROSOFT. OKAY, TELL ME THE TRUTH. YOU DON'T WORK FOR MICROSOFT. AHAHAHA AHAHAHA LOL
@bernard3690
@bernard3690 Жыл бұрын
I have Visual Studio Community 2022 (64-bit) - Preview Version 17.4.0 Preview 6.0 None of those features are present
@asenkiprov3548
@asenkiprov3548 Жыл бұрын
When 104 keys are not enough to cover all shortcut combinations.
@Swoopss
@Swoopss Жыл бұрын
When is Microsoft Analysis Services Projects SQL Server Integration Services Projects Microsoft Reporting Services Projects When is theese 3 going to work in Visual Studio 2022? I have to use 2019 or lower!
@chezchezchezchez
@chezchezchezchez Жыл бұрын
Why no chat about Copilot?
@nofutureproductions9242
@nofutureproductions9242 Жыл бұрын
Question. If you have a branch with the same solution in the branched folder, does it keep track of the colors assigned to each instance of the same named file? \\PathA\mySolution.sln - Blue \\PathB\mySolution.sln - Green
@mohokhachai
@mohokhachai 10 ай бұрын
When you release assembly generator code
@condensedmatter118
@condensedmatter118 Жыл бұрын
Feel like this video could have been done in 10 minutes but nice tips nonetheless.
@TechySpeaking
@TechySpeaking Жыл бұрын
First
@faximori
@faximori Жыл бұрын
I'm thinking of KZfaq video about unresolved bugs in VS2022. Instead of "cool" features I would expect quality. 17.3.6 version does not allow to compile MAUI app for 2 weeks, issue open, nobody cares.
@davidwhite2011
@davidwhite2011 Жыл бұрын
Windows forms support still poor for the gui.
@kevin179887
@kevin179887 Жыл бұрын
This could probably be edited to 15 mins. I found it poorly organized and long winded.
@curtisnewton895
@curtisnewton895 Жыл бұрын
yeah ? and how many bugs, regressions and so called "fixed bugs" that will never be fixed ? before talking 2022, fix vs 2019 already
@hhhhhhnnnnnnnnnnnnnn
@hhhhhhnnnnnnnnnnnnnn Жыл бұрын
I cringe every time you say "gonna" and "wanna"
@namelastname4077
@namelastname4077 Жыл бұрын
Visual Studio Community Preview Edition is getting sooo bloated and slow. Just because I want to learn Blazor I am forced to guinea pig features nobody wants and nobody needs.
I tried 10 code editors
10:28
Fireship
Рет қаралды 2,9 МЛН
15 Tips to Boost Your Productivity in Visual Studio
12:30
Microsoft Visual Studio
Рет қаралды 35 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 34 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 36 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 96 МЛН
Visual Studio Toolbox Live: State of the GitHub Copilot Nation
1:06:29
Microsoft Visual Studio
Рет қаралды 1,3 М.
New Little Features in Visual Studio 2019
17:41
Microsoft Visual Studio
Рет қаралды 48 М.
BRO PREMOVES LEVY RECAP!!!!
18:46
GMHikaru
Рет қаралды 44 М.
Debugging Tips and Tricks in Visual Studio 2022
5:57
Microsoft Visual Studio
Рет қаралды 3,4 М.
Microsoft FINALLY killed it
6:45
Alex Ziskind
Рет қаралды 584 М.
How is THIS Coding Assistant FREE?
5:19
Alex Ziskind
Рет қаралды 143 М.
Samsung Galaxy Unpacked July 2024: Official Replay
1:8:53
Samsung
Рет қаралды 23 МЛН
Опять съемные крышки в смартфонах? #cmf
0:50
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,8 МЛН