~/talk

Include Cleanup and Diagnostics in Visual Studio

Talkat Pure Virtual C++ 2024 · on Tuesday, 2024-04-30· [developer-experience, c-and-cpp]
links:none on file
slides:none on file

Run Visual Studio Build Insights to find costly headers (project build drops from 461s to 334.12s after cleaning one file), enable Include Cleanup at Tools > Options > Text Editor > C++ > Code Cleanup, then choose Optimize include graph to remove unused includes and add transitively required headers; enable Include Diagnostics from the editor context menu to show CodeLens counts and build-time per header and click references to jump to uses.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.