包阅导读总结
1. 关键词:Visual Studio 、C++ 、新特性 、改进 、开发
2. 总结:Visual Studio 2022 版本 17.11 为 C++开发者带来众多新特性,包括标准库、CMake 调试器、对虚幻引擎的支持、Build Insights 集成优化及断点性能提升等方面。具体细节可在 C++博客查看。
3. 主要内容:
– Visual Studio v17.11 新特性
– 标准库:在格式化输出、向量化和诊断方面有改进。
– CMake 调试器:支持在针对 Linux 的 CMake 项目中通过 WSL 或 SSH 调试。
– 虚幻引擎支持:新增工具栏、添加类和模块对话框。
– Build Insights:可按项目过滤跟踪结果,改进文件路径显示和结果分组。
– 断点性能:条件断点性能大幅提升。
思维导图:
文章地址:https://devblogs.microsoft.com/visualstudio/new-c-features-in-visual-studio-v17-11/
文章来源:devblogs.microsoft.com
作者:Sy Brand
发布时间:2024/8/21 10:00
语言:英文
总字数:408字
预计阅读时间:2分钟
评分:90分
标签:C++,Visual Studio,开发工具,CMake,虚幻引擎
以下为原文内容
本内容来源于用户推荐转载,旨在分享知识与观点,如有侵权请联系删除 联系邮箱 media@ilingban.com
Visual Studio 2022 version 17.11 is here and comes with a host of new features for C++ developers. We’ve made improvements across our toolchain, Unreal Engine support, Build Insights, CMake debugger, and more. This post gives a quick overview of what’s available; for all the details, see What’s New for C++ Developers in Visual Studio 2022 17.11 on the C++ blog.
Standard Library
The three main areas of improvement in this release are in formatted output, vectorization, and diagnostics. For formatted output, we’ve implemented parts of Formatting Ranges and all of Printing Blank Lines with println. Our vectorization improvements hit over a dozen of the standard algorithms, and we’ve improved the diagnostics of common misuses of std::ranges::to and std::get(std::tuple). See the STL changelog for all the details.
CMake Debugger
We have added support for the CMake debugger in CMake projects targeting Linux via WSL or SSH. The CMake debugger allows you to debug your CMake scripts andCMakeLists.txtfiles through the Visual Studio debugger.
To start a CMake debugging session, set a breakpoint in yourCMakeLists.txtfile and then navigate toProject > Configure Cache with CMake Debugging.
Unreal Engine Support
We’ve added several new features for Unreal Engine developers:
- An Unreal Engine toolbar that provides quick access to Unreal Engine actions such as attaching to UE processes and accessing the UE log
- An Add Class dialog for adding common UE class templates to your project
- An Add Module dialog for adding UE modules to your project
Build Insights
In this update, we added quality of life changes to C++ Build Insights integration. You can now filter your Build Insights trace results by project. For results in each row, you will now see the relative path and file name instead of the full path. We have also improved the grouping of results in the Included Files view.
Breakpoint Performance
We have significantly enhanced the performance of conditional breakpoints in C++ through a reworked implementation.
Beginning with version 17.11, our initial assessment finds that execution time is almost four times as fast, reducing execution time from 80 seconds to 21 seconds over 80,000 iterations.
Summary
We hope this has given you a taste of what’s new. For all the details, see What’s New for C++ Developers in Visual Studio 2022 17.11 on the C++ blog.
We are very much interested in your feedback. The comments below are open. Feedback can also be shared through Visual Studio Developer Community. You can also reach us on Twitter (@VisualC), or via email at visualcpp@microsoft.com.