Visual Studio Adds #include Diagnostics
Written by Kay Ewbank   
Monday, 05 February 2024

Microsoft has released Visual Studio 2022 17.9 Preview 5, with minor improvements including the ability to run form under the System account. This is the most recent of four preview versions in a month, perhaps indicating that the final release is getting closer.

Of recent changes, the most interesting are the availability of the #include Diagnostics feature. This provides more detailed information about the behavior of #include directives. Other improvements available in recent previews include support for XCode 15.1.

Visual Studio 2022 follows the Microsoft Product Fixed Lifecycle Policy of 10 years. The first 5 years of mainstream support provide new features, platform updates, security updates, functionality fixes, and quality improvements.

visstudprev

The Visual Studio team says the new support for #include references diagnostics means you can see how many times each #include directive has been referenced in your code. You can view the specific references by clicking on the reference count on top of the directive. It shows where and how often each directive is referenced, which can be particularly useful when dealing with a long list of directives. If you find an #include directive that is infrequently used but significantly impacts your compile time, this tool will help you identify it quickly and work out how to optimize your code.

Visual Studio supports #include diagnostics

Preview 3 added support for XCode 15.1 and 15.2. Xcode is Apple's integrated development environment that can be used to develop, test, and distribute apps for all Apple platforms. Earlier versions of Visual Studio 2022 previews caused an error message if developers asked to use XCode 15.

Preview 3 also improved Code Search (also known as All-In-One Search). This can now be used to search for any word or string of characters across your solution, supplementing file and symbol results from your codebase. You can now search for local variable names, words in comments, parameter names, or any other string of characters across your codebase.

Another improvement in preview 3 was to the Microsoft Teams Toolkit, which now has a Teams AI Bot template that is designed to help you getting started with building a GPT-like chat bot with AI capabilities using Teams AI Library.

Preview 4 and 5 are mainly updates to remove bugs.

Preview 5 of Visual Studio 2022 17.9 is available now.

 visstudprev

More Information

Visual Studio Website

Related Articles

Visual Studio 2022 Preview 2 Targets Productivity

Visual Studio 2022 Will Be 64-bit

Microsoft Aims For Better Visual Studio Extensions  

Visual Studio Preview 2 Revamps Git Functionality

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


IBM Opensources AI Agents For GitHub Issues
14/11/2024

IBM is launching a new set of AI software engineering agents designed to autonomously resolve GitHub issues. The agents are being made available in an open-source licensing model.



JetBrains Improves Kubernetes Support In IDE Upgrades
12/11/2024

JetBrains has improved its IDEs with features to suggest the logical structure of code, to streamline the debugging experience for Kubernetes applications, and provide comprehensive cluster-wide Kuber [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 05 February 2024 )