Cool features in Visual Studio 2022

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • 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
  • Věda a technologie

Komentáře • 97

  • @--Eric--
    @--Eric-- Před rokem +20

    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.

  • @keithprice3369
    @keithprice3369 Před rokem +7

    I can't find the Quick Add feature in Options. And a Google search isn't helping. Where do I find it?

  • @dragnilar
    @dragnilar Před rokem

    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 Před rokem +1

    Thank you for this presentation; these new features are awesome. I really fell in love with Quick Add. Kudos!

  • @markrobinson2648
    @markrobinson2648 Před rokem +1

    What a fantastic video. Learned so much. Thanks for recording it.

  • @anomalii7720
    @anomalii7720 Před rokem

    I like the coloring of the projects, Very nice, thanks!

  • @madimane
    @madimane Před rokem

    Thanks for the demo. very handy!

  • @iT_dev41k
    @iT_dev41k Před rokem

    oooh, that is amazing!! Thank you for sharing this info, that's very helpful!

  • @adinwashere
    @adinwashere Před rokem

    Thanks for the extension recommendations.

  • @AmarKap
    @AmarKap Před rokem +2

    No one gonna comment on what a nice looking Garage he has???

  • @willlywillly
    @willlywillly Před rokem +2

    Great video for newbie like me. Please keep making these types of videos!

  • @EnriqueThedy
    @EnriqueThedy Před rokem +6

    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  Před rokem +2

      Great feedback. I've updated the description to mention the version of VS I'm using in the video.

    • @EnriqueThedy
      @EnriqueThedy Před rokem

      @@visualstudio Thanks!!!😀

  • @fassiltaye2771
    @fassiltaye2771 Před rokem

    Thank you, It helps me.

  • @rodfalanga3770
    @rodfalanga3770 Před rokem +3

    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?

  • @CodeParticles
    @CodeParticles Před rokem

    @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~

  • @James-zl4sl
    @James-zl4sl Před rokem

    show tabs in multiple rows: FINALLY. how may engineers did it took you to implement that

  • @iceberg1370
    @iceberg1370 Před rokem

    It would be nice if the summary had links to the extensions

  • @michaelkopljan578
    @michaelkopljan578 Před rokem +1

    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 Před rokem

      In my experience, I have never used copilot, but do use VS2022 and I definitely do get prompts like that.

    • @S3Kglitches
      @S3Kglitches Před rokem

      true, I get some prompts but they are much slower to say at least (in base VS)

  • @julian_pp
    @julian_pp Před rokem

    Great vid!!! Thank you. Were you using Intellicode or Copilot? is it the same as in VSC?

  • @opus5340
    @opus5340 Před rokem

    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.

  • @PEdulis
    @PEdulis Před rokem +4

    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. :)

  • @kharrell8356
    @kharrell8356 Před rokem +1

    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

  • @justprogrammer1234
    @justprogrammer1234 Před rokem +1

    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

  • @zackjones8681
    @zackjones8681 Před rokem +1

    I would love devbox for home developer use. I write little utility apps and something like that would be great for me.

  • @andrewp7497
    @andrewp7497 Před rokem

    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!!

  • @Byynx
    @Byynx Před 3 měsíci

    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.

  • @matteoverardo8005
    @matteoverardo8005 Před rokem

    Is there a way to highligth the variable with different colors as Notepad++ does?

  • @bkramber
    @bkramber Před rokem +2

    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 Před rokem +3

      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 Před rokem +1

      I have the same preview version as in the video (17.5 preview 1), yet "Quick Add" feature is still missing there,

  • @LastMomentMan
    @LastMomentMan Před rokem

    How can we restore the old style of VS2019, where the commands are formatted in the traditional way, not in Python style ?

  • @Lenobis
    @Lenobis Před rokem +3

    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 Před rokem

      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  Před rokem +1

      They'll be in the next preview release of VS

    • @mariostelzner4530
      @mariostelzner4530 Před rokem

      NO WAY! CONGRATULATIONS!! A MICROSOFT CONTACTEE! NEXT THING YOU KNOW MICROSOFT WILL BE HANDING OUT PRIZES. AHAHAHA AHAHAHA LOL

  • @c0d3_m0nk3y
    @c0d3_m0nk3y Před rokem +2

    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.

  • @S3Kglitches
    @S3Kglitches Před rokem

    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.

  • @SniperAtWork1
    @SniperAtWork1 Před rokem +1

    Does Community Edition have AI based coding assistance as well? Or Professional / Enterprise include only?

  • @isaiasmachado6219
    @isaiasmachado6219 Před rokem

    Hi. Is the chart missing in VS 2022 toolbox?

  • @GumShoeNoir
    @GumShoeNoir Před rokem +3

    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  Před rokem +5

      They will be in the upcoming preview release of VS 17.5

  • @georgebeierberkeley
    @georgebeierberkeley Před rokem +3

    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.

  • @offir711
    @offir711 Před rokem

    Does these settings gets sync using my Microsoft account?

  • @BoEscapes
    @BoEscapes Před rokem

    Enable Quick Add doesn't seem to exist in the 17.4.4 version.

  • @1510Maiv
    @1510Maiv Před rokem

    Which extensions do you use to get "Tab to accept" and "Alt+. next" displayed?

    • @keyboard_g
      @keyboard_g Před rokem +1

      It is built into Intellisense now. No additional install.

  • @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

  • @sulmarpl
    @sulmarpl Před rokem +1

    Do Shifter will be work in C# code editor too?

  • @jacksoncarvalho9802
    @jacksoncarvalho9802 Před rokem

    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

  • @johnoldfield2390
    @johnoldfield2390 Před rokem

    I need a business email login for microsoft dev box

  • @AndrewWatt-wg8sy
    @AndrewWatt-wg8sy Před rokem

    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.

  • @DataJuggler
    @DataJuggler Před rokem +1

    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 Před rokem

      AI will decommission all developers

  • @lionxyz4586
    @lionxyz4586 Před rokem

    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 Před rokem

      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 Před rokem +1

      @@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 Před rokem

      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.

  • @S3Kglitches
    @S3Kglitches Před rokem

    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 Před rokem

      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

  • @cguyml
    @cguyml Před rokem

    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.

  • @hobis0b
    @hobis0b Před rokem

    We're slowly starting to want Visual Rust.

  • @Rygmarv
    @Rygmarv Před rokem

    How do you add existing folders to a solution? Possibly with files inside?

    • @raztubes
      @raztubes Před rokem

      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  Před rokem +1

      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 Před rokem

      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 Před rokem

      VERY CAREFULLY! AHAHAHA AHAHAHA LOL

  • @MaximusIA
    @MaximusIA Před rokem +1

    Merci ❤

  • @gradientO
    @gradientO Před rokem +1

    That's cool

  • @bernard3690
    @bernard3690 Před rokem

    I have Visual Studio Community 2022 (64-bit) - Preview Version 17.4.0 Preview 6.0 None of those features are present

  • @DerekReynolds
    @DerekReynolds Před rokem

    Is the AI functionality different then what Co-Pilot offers ?

    • @visualstudio
      @visualstudio  Před rokem +2

      It's Co-Pilot and IntelliCode both offering their piece of the puzzle

    • @DerekReynolds
      @DerekReynolds Před rokem +2

      @@visualstudio Oh nice! So I don't need a Github Co-Pilot license if I buy Visual Studio?

    • @visualstudio
      @visualstudio  Před rokem

      @@DerekReynolds You do if you wish to use Co-Pilot. IntelliCode is freely available

    • @mariostelzner4530
      @mariostelzner4530 Před rokem

      CONGRATULATIONS!!!! YOU GOT A REPLY FROM SOMEONE AT MICROSOFT. OKAY, TELL ME THE TRUTH. YOU DON'T WORK FOR MICROSOFT. AHAHAHA AHAHAHA LOL

  • @chezchezchezchez
    @chezchezchezchez Před rokem

    Why no chat about Copilot?

  • @Digrient
    @Digrient Před rokem

    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!

  • @mohokhachai
    @mohokhachai Před 10 měsíci

    When you release assembly generator code

  • @asenkiprov3548
    @asenkiprov3548 Před rokem

    When 104 keys are not enough to cover all shortcut combinations.

  • @Swoopss
    @Swoopss Před rokem +1

    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!

  • @condensedmatter118
    @condensedmatter118 Před rokem

    Feel like this video could have been done in 10 minutes but nice tips nonetheless.

  • @faximori
    @faximori Před rokem

    I'm thinking of CZcams 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 Před rokem +1

    Windows forms support still poor for the gui.

  • @TechySpeaking
    @TechySpeaking Před rokem +1

    First

  • @kevin179887
    @kevin179887 Před rokem

    This could probably be edited to 15 mins. I found it poorly organized and long winded.

  • @curtisnewton895
    @curtisnewton895 Před rokem

    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 Před rokem

    I cringe every time you say "gonna" and "wanna"

  • @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

  • @namelastname4077
    @namelastname4077 Před rokem

    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.