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


Raspberry Pi Beaten To It With Pico Plus 2
02/10/2024

RPi recently announced the Pico 2, but while we are all waiting for the more useful Pico 2W, with WiFi, the tiny Pimoroni outfit has produced something better - the Pico Plus 2 with WiFi. What is goin [ ... ]



VS Code Extension For Python Data Science
23/09/2024

Microsoft has announced the Python Data Science Extension Pack for Visual Studio Code which is intended as a one-stop shop for doing data science work in Python. If, as a Python programmer, you d [ ... ]


More News

kotlin book

 

Comments




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

Last Updated ( Monday, 05 February 2024 )