In Visual Studio 2022 v17.11, you’ll discover several new features that address specific issues developers have reported. These updates don’t belong to a distinct category, but we’re dedicated to sharing them with you in this blog post. You can download the update and view the comprehensive release notes for full details.
Find the code you’re looking forDo you ever feel like you’re seeing too many results in code search? Narrow down your focus with the newly added scoping options in Code Search.
For the default code search experience and each filter, you can now set the scope to Entire solution, Current project, or Current document and toggle inclusion of external files.
You can set different scopes for different filters. For example, the default experience can be set to look through Entire solution and members can be set to look through only current document. Your selections will be preserved past the current session.
Familiar keyboard shortcutsWhen moving between different IDEs and editors, it can be frustrating to have to relearn keyboard shortcuts. We’ve made some changes to some default keyboard shortcuts to make them more familiar and to preserve your muscle memory.
Toggle line commentsYou’ve been able to toggle line comments in Visual Studio for a long time, but the default keyboard shortcut was Ctrl+K, Ctrl+/. We’ve now added Ctrl+/ as an alternative shortcut, which is the default in many other IDEs and editors.
Open Command PaletteOr Feature Search as it’s called in Visual Studio. The default keyboard shortcut for this feature is now Ctrl+Shift+P, which should be familiar to VS Code users for opening the Command Palette.
Never miss installing a componentMany teams use .vsconfig files to standardize their teams’ Visual Studio installations. The .vsconfig files can be placed in a repo or a project’s solution directory, and Visual Studio will automatically detect if components specified in the *.vsconfig file are missing.
If any are missing, then a notification such as the one pictured below will appear.
We’ve made two improvements to this experience in Visual Studio 2022 version 17.11 Preview 1.
Improved user authenticationVisual Studio now uses the Web Account Manager (WAM) as its main authentication mechanism. This integration not only streamlines the authentication experience for Visual Studio, but it also enhances the security of your credentials.
Here’s how the new WAM experience looks like:
How does this impact your experience?
Using WAM as the default authentication experience has many benefits, including:
New Teams Toolkit templatesTeams Toolkit now offers an empty Teams template for you to connect with your existing projects or use it as a starting point for new Teams apps.
Teams Toolkit supports authentication for Search Results from API Message Extensions app.
We hope you enjoy this update to Visual Studio, and we look forward to hearing what you think. You can share feedback with us via Developer Community, by reporting issues via report a problem and share your suggestions for new features or improvements to existing ones.
Stay connected with the Visual Studio team by following us on Twitter, YouTube, LinkedIn, and on Microsoft Learn.
Thank you for using Visual Studio and happy coding!
Download Visual Studio 17.11The post New IDE features in Visual Studio v17.11 appeared first on Visual Studio Blog.