The pre-conference content for Pure Virtual C++ 2024 will be rolling out over the next two weeks, starting with @starfreakclone telling us about the IFC SDK for C++ Modules
piped.video/watch?v=t6QCzVXr…
We're excited to announce that Build Insights will be integrated into Visual Studio in the next preview version!
Keep your eyes out for more details soon
piped.video/watch?v=P63jEa85…
We boosted performance of debug builds by always evaluating casts like std::move and std::forward at compile time. Find out more from @starfreakclonepiped.video/watch?v=idwVQUG6…
vcpkg tip: Need a different version of a library? Did you know vcpkg can help you manage libraries even if they are not in the catalogue? Use the ports overlay feature to bring custom libraries to your projects!
aka.ms/cpptips/vcpkg-overlay…#mscpptip
ALT vcpkg-configuration.json containing overlay-ports and overlay-triplets specifications
Visual Studio Code tip: Use CMake Presets to invoke CMake the same way across all IDEs/CLI and share common options with your whole team.
aka.ms/cpptips/vscode-cmake-…#mscpptip
ALT Cmake Presets options in the VS Code Command menu
Visual Studio Code tip: Did you know you can view the local history of changes in Git and can easily rollback changes using the Git timeline view?
aka.ms/cpptips/git#mscpptip
ALT Timeline view, showing when the file was saved
Visual Studio Code tip: Running and debugging your C++ code has gotten even easier! Now, the run/debug button in VS Code is a simple button to start running your code with a single click.
#mscpptip
Visual Studio Code tip: Did you know that you can use CMake task functionality built into VS Code to configure and run build, clean, clean rebuild, configure, install, and test tasks you want to automate for your workflow?
aka.ms/cpptips/cmake-task#mscpptip
ALT CMake task toolbar in VS Code, showing build, clean, configure tasks and more.
Visual Studio tip: Visual Studio 2022 has support for vertical tabs, as well as colorizing tabs by project, file extension, and regex!
aka.ms/cpptips/color-tabs#mscpptip
ALT Vertical tabs showing files in a variety of folders, coloured differently depending on file extension.
Visual Studio tip: Visual Studio 2022 version 17.4 Preview has experimental support for C++20 Modules and CMake. Just add your .ixx files to your target and use the Visual Studio CMake generator.
#mscpptip
ALT CMakeLists.txt showing .ixx files inside a call to add_executable
Visual Studio tip: The Visual Studio debugger has customizable type visualizations. Did you know the .natvis file for the standard library is on GitHub?
aka.ms/cpptips/natvis-github#mscpptip
Visual Studio tip: Intellisense can populate members based on some C++20 concepts requires clauses.
#mscpptip
ALT A concept which checks for the existence of a .pet function, then a part showing that the member function completion list has a .pet function added to it.
Visual Studio tip: Use Template Intellisense to see completions for a relevant type inside a template definition.
aka.ms/cpptips/template-inte…#mscpptip
ALT Gif showing a lizard type being selected for template intellisense and the do_lizardy_things function showing in the member completion list
Visual Studio tip: Go-to-definition/declaration now works even while you're refactoring! If you make changes to a function signature, navigation will still try to find the correct pair.
#mscpptip
ALT Gif showing go-to-definition working after changing the return type of a function
Visual Studio tip: Press Alt+F1 to try the experimental inline hints support, showing you deduced types and parameter names directly in the editor.
#mscpptip
ALT Gif showing inline hints being toggled on and off in the editor
Do you use clang-tidy? You can now use it in Visual Studio Code! Find out how in this pre-conference recording for Pure Virtual C++ 2022.
docs.microsoft.com/en-us/eve…
ALT Join us for a free, three-hour virtual conference for the whole C++ community. Streaming live on Learn TV. April 26 2022 7:00 AM - 10:00 AM PT
Visit https://aka.ms/purevirtualc++2022 to learn more
Find out what's new in productivity features for Visual Studio 2022 in this pre-conference recording for Pure Virtual C++ 2022.
docs.microsoft.com/en-us/eve…
ALT Join us for a free, three-hour virtual conference for the whole C++ community. Streaming live on Learn TV. April 26 2022 7:00 AM - 10:00 AM PT
Visit https://aka.ms/purevirtualc++2022 to learn more
Hot Reload lets you make changes to your application while debugging without having to stop the program. Find out more in this pre-conference recording for Pure Virtual C++ 2022.
docs.microsoft.com/en-us/eve…
ALT Join us for a free, three-hour virtual conference for the whole C++ community. Streaming live on Learn TV. April 26 2022 7:00 AM - 10:00 AM PT
Visit https://aka.ms/purevirtualc++2022 to learn more
Visual Studio 2022 makes targeting macOS easier than ever! Find out how in this pre-conference recording for Pure Virtual C++ 2022
docs.microsoft.com/en-us/eve…
ALT Join us for a free, three-hour virtual conference for the whole C++ community. Streaming live on Learn TV. April 26 2022 7:00 AM - 10:00 AM PT
Visit https://aka.ms/purevirtualc++2022 to learn more
Find out how to use data breakpoints from Visual Studio Code in this pre-conference recording for Pure Virtual C++ 2022
docs.microsoft.com/en-us/eve…
ALT Join us for a free, three-hour virtual conference for the whole C++ community. Streaming live on Learn TV. April 26 2022 7:00 AM - 10:00 AM PT
Visit https://aka.ms/purevirtualc++2022 to learn more
Looking for a C++ package manager? Find out how vcpkg could help you in this pre-conference recording for Pure Virtual C++ 2022.
docs.microsoft.com/en-us/eve…
ALT Join us for a free, three-hour virtual conference for the whole C++ community. Streaming live on Learn TV. April 26 2022 7:00 AM - 10:00 AM PT
Visit https://aka.ms/purevirtualc++2022 to learn more
We've added indexing support to Find in Files to bring huge performance improvements for large projects! Check out the details here: piped.video/watch?v=xR8W3Mc5…
Want to learn what's new in MSVC for C++20 and C++23? @StephanTLavavej gives us all the details in preparation for Pure Virtual C++ 2022 on April 26th.
piped.video/watch?v=DAl37n2X…
Maintaining a C++ GitHub repo? Enable Code Scanning in your GitHub Actions and take advantage of MSVC Code Analysis today.
Here's how:
devblogs.microsoft.com/cppbl…
ALT GitHub Security tab showing a C++ warning originating from MSVC Code Analysis