{"id":5281,"date":"2026-10-30T20:05:01","date_gmt":"2026-10-31T00:05:01","guid":{"rendered":"https:\/\/www.wholetomato.com\/blog\/?p=5281"},"modified":"2026-10-30T20:29:50","modified_gmt":"2026-10-31T00:29:50","slug":"visual-assist-code-inspections","status":"publish","type":"post","link":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/","title":{"rendered":"Why You Should Turn On Code Inspections in Visual Assist"},"content":{"rendered":"<p data-pm-slice=\"1 1 []\">Most people use Visual Assist to get around a codebase and refactor safely. But there&#8217;s a whole set of checks and one-click fixes, just one checkbox away, that most users don&#8217;t know about\u2014<strong>Code Inspections<\/strong>.<\/p>\n<p>Code Inspections looks over your code while you work and points out anything that could cause trouble later. Some checks make code easier to read, some bring it up to modern C++, and some catch problems you&#8217;d definitely want to know about before they reach a customer.<\/p>\n<p>Code Inspections used to be off by default, which is why many users have never seen it. From 2026.5, Visual Assist asks what you want to do when you open a solution (see step 1 below). You can also switch it on any time in VAssistX \u2192 Visual Assist Options \u2192 Code Inspection.<\/p>\n<p>Treat it as a second pair of eyes that never gets tired. Your own team&#8217;s code review will catch a lot, but reviewers are people. Whether we like to admit it or not, we&#8217;re bound to miss a few\u2014especially in huge projects. By the fortieth file in a pull request, a <code>NULL<\/code> here or a moved-from string there slips right past us. But not past a parser. Inspections read every line the same way, <em>every time<\/em>.<\/p>\n<p>The <strong><a href=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-2026-5-release-post\/\">Visual Assist 2026.5 release<\/a><\/strong> is the perfect time to try it, since inspections can now cover your whole solution instead of just one file at a time. Here are the issues it catches, and how to switch them on without drowning your project in warnings.<\/p>\n<div id=\"attachment_5284\" style=\"width: 787px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5284\" data-attachment-id=\"5284\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/01_code-inspections-hover-nullptr\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?fit=1130%2C403&amp;ssl=1\" data-orig-size=\"1130,403\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"01_code-inspections-hover-nullptr\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Code Inspections underlines the issue and explains it when you hover.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?fit=300%2C107&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?fit=1024%2C365&amp;ssl=1\" class=\" wp-image-5284\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?resize=777%2C277&#038;ssl=1\" alt=\"Visual Studio editor with Visual Assist Code Inspection underlining NULL and a tooltip reading &quot;Zero constant can be replaced with nullptr.&quot;\" width=\"777\" height=\"277\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?resize=1024%2C365&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?resize=300%2C107&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?resize=768%2C274&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?resize=360%2C128&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/01_code-inspections-hover-nullptr.png?w=1130&amp;ssl=1 1130w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5284\" class=\"wp-caption-text\">Code Inspections underlines the issue and explains it when you hover.<\/p><\/div>\n<h2 data-pm-slice=\"1 1 []\">What Code Inspections catches<\/h2>\n<p>Every example below uses a real check from Visual Assist&#8217;s Combined checker set (the one we recommend in step 3). You can look each one up by name in the <a href=\"https:\/\/clang.llvm.org\/extra\/clang-tidy\/checks\/list.html\">clang-tidy documentation<\/a>.<\/p>\n<h3>It catches bugs that compile cleanly<\/h3>\n<p>The best reason to turn inspections on is when you have code that builds fine but still does the wrong thing (i.e. the syntax is sound, but the logic is not.)<\/p>\n<div class=\"wp-block-codemirror-blocks code-block\">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;clike&quot;,&quot;mime&quot;:&quot;text\/x-c++src&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">std::string name = GetPlayerName();\r\nroster.push_back(std::move(name));\r\nLog(\"Added \" + name);   \/\/ name was moved from<\/pre>\n<\/div>\n<p data-pm-slice=\"1 1 []\">After <code>std::move<\/code>, <code>name<\/code> is still a valid string, but you can&#8217;t count on what&#8217;s in it. In practice it&#8217;s usually empty, so the log line prints just &#8220;Added&#8221;. The use-after-move check (<code>bugprone-use-after-move<\/code>) flags it.<\/p>\n<div class=\"wp-block-codemirror-blocks code-block\">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;clike&quot;,&quot;mime&quot;:&quot;text\/x-c++src&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">int hits = 3;\r\nint shots = 4;\r\ndouble accuracy = hits \/ shots; \/\/ 0.0, not 0.75<\/pre>\n<\/div>\n<p data-pm-slice=\"1 1 []\">Both values are integers, so the division drops the fraction before the result ever reaches the <code>double<\/code>. The integer-division check (<code>bugprone-integer-division<\/code>) catches it. Neither bug stops the build, and both are easy to miss in review.<\/p>\n<h3>It makes your code safer and more secure<\/h3>\n<p>There are a variety of checks available within Code Inspections. Some are about convention, like keeping a consistent style. Others are about correctness and safety: making code harder to misuse, catching memory errors, and keeping types from silently changing under you.<\/p>\n<p>VA gives every check a default level, from 1 (critical) to 5 (a gentle notice), so you can see at a glance how serious a finding is. Most readability checks sit at level 5. About two-thirds of the C++ Safety checks sit at level 2, one step below critical.<\/p>\n<p>Many of the safety checks come from two well-known rulebooks: the <a href=\"https:\/\/isocpp.github.io\/CppCoreGuidelines\/CppCoreGuidelines\">C++ Core Guidelines<\/a>, edited by C<u>creator Bjarne Stroustrup and Herb Sutter, and the [CERT C<\/u> Coding Standard](<a href=\"https:\/\/cmu-sei.github.io\/secure-coding-standards\/sei-cert-cpp-coding-standard\/\">https:\/\/cmu-sei.github.io\/secure-coding-standards\/sei-cert-cpp-coding-standard\/<\/a>), a secure-coding standard from Carnegie Mellon&#8217;s Software Engineering Institute. Here are three of them.<\/p>\n<div class=\"wp-block-codemirror-blocks code-block\">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;clike&quot;,&quot;mime&quot;:&quot;text\/x-c++src&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">Texture* tex = new Texture();\r\ndelete tex;\r\ntex-&gt;Bind(); \/\/ using memory that's already been freed<\/pre>\n<\/div>\n<p data-pm-slice=\"1 1 []\">This is a classic memory-safety bug: using memory after it&#8217;s been freed. Clang&#8217;s built-in bug finder, the static analyzer, flags it with its new\/delete check (<code>clang-analyzer-cplusplus.NewDelete<\/code>). It&#8217;s bugs like this that matter beyond crashes found while testing. Microsoft has reported that around <a href=\"https:\/\/www.microsoft.com\/en-us\/msrc\/blog\/2019\/07\/a-proactive-approach-to-more-secure-code\">70% of the vulnerabilities it assigns a CVE each year are memory safety issues<\/a>.<\/p>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;clike&quot;,&quot;mime&quot;:&quot;text\/x-c++src&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:true,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">void SetVolume(int percent);\r\n\r\ndouble level = 0.755 * 100;\r\nSetVolume(level);   \/\/ 75.5 silently becomes 75<\/pre>\n<\/div>\n<p data-pm-slice=\"1 1 []\">This one breaks the &#8220;don&#8217;t silently lose data&#8221; rule from the C++ Core Guidelines (rule ES.46, check <code>cppcoreguidelines-narrowing-conversions<\/code>). The decimal part disappears without a word. If cutting it off is what you want, writing <code>static_cast&lt;int&gt;(level)<\/code> tells the next reader that it was on purpose.<\/p>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;clike&quot;,&quot;mime&quot;:&quot;text\/x-c++src&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:true,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">int sessionId = std::rand();   \/\/ predictable sequence<\/pre>\n<\/div>\n<p data-pm-slice=\"1 1 []\">And this one breaks the smart random number rule from the CERT coding standard (rule <a href=\"https:\/\/cmu-sei.github.io\/secure-coding-standards\/sei-cert-cpp-coding-standard\/rules\/miscellaneous-msc\/msc50-cpp\">MSC50-CPP<\/a>, check <code>cert-msc50-cpp<\/code>). <code>std::rand()<\/code> makes no promises about how random its numbers are, and some versions repeat quickly enough to be predictable. For anything security-related, like session IDs or tokens, use a cryptographically secure generator.<\/p>\n<p>We added the C++ Safety set in 2025.4, and our <a href=\"https:\/\/www.wholetomato.com\/blog\/c-safety-checkers-deep-dive-why-memory-safety-is-everyones-problem-now\/\">C+ safety checkers deep dive<\/a> covers it in more detail.<\/p>\n<div id=\"attachment_5285\" style=\"width: 791px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5285\" data-attachment-id=\"5285\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/02_code-inspections-check-levels\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?fit=1672%2C941&amp;ssl=1\" data-orig-size=\"1672,941\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"02_code-inspections-check-levels\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Safety checks default to a more severe level than style checks, so the serious findings stand out.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?fit=300%2C169&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?fit=1024%2C576&amp;ssl=1\" class=\" wp-image-5285\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?resize=781%2C439&#038;ssl=1\" alt=\"Scale of Code Inspection levels from 1 (critical) to 5 (notice), with Clang analyzer, CERT and Core Guidelines checks at level 2, bug-prone, modernize and performance checks at level 3, and readability checks at level 5.\" width=\"781\" height=\"439\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?resize=360%2C203&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/02_code-inspections-check-levels.png?w=1672&amp;ssl=1 1672w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5285\" class=\"wp-caption-text\">Safety checks default to a more severe level than style checks, so the serious findings stand out.<\/p><\/div>\n<h3 data-pm-slice=\"1 1 []\">It brings old code up to modern C++<\/h3>\n<p>A lot of the default checks come with a fix you can apply in one click. Here&#8217;s a small class before and after four of them.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;clike&quot;,&quot;mime&quot;:&quot;text\/x-c++src&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:true,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">\/\/ Before\r\nclass Texture : public Resource {\r\npublic:\r\n    virtual ~Texture();                         \/\/ modernize-use-override\r\n    virtual void Load();                        \/\/ modernize-use-override\r\n    Texture* next = NULL;                       \/\/ modernize-use-nullptr\r\n};\r\n\r\nstd::unique_ptr&lt;Texture&gt; tex(new Texture());    \/\/ modernize-make-unique\r\nfor (size_t i = 0; i &lt; textures.size(); ++i)    \/\/ modernize-loop-convert\r\n    textures[i].Load();<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;clike&quot;,&quot;mime&quot;:&quot;text\/x-c++src&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:true,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">\/\/ After\r\nclass Texture : public Resource {\r\npublic:\r\n    ~Texture() override;\r\n    void Load() override;\r\n    Texture* next = nullptr;\r\n};\r\n\r\nstd::unique_ptr&lt;Texture&gt; tex = std::make_unique&lt;Texture&gt;();\r\nfor (auto&amp; texture : textures)\r\n    texture.Load();<\/pre>\n<\/div>\n<p data-pm-slice=\"1 1 []\">Some fixes are mainly for cleaner code, but <code>override<\/code> also helps prevent bugs. If the base class&#8217;s <code>Load()<\/code> signature changes, the compiler flags the mismatch instead of letting your function become a separate method that never gets called.<\/p>\n<p>One 2026.5 change you should know about is that the override check now covers destructors by default, like the <code>~Texture()<\/code> line above. Destructors without override weren&#8217;t flagged before, so you may see a few new findings in code that looked clean.<\/p>\n<h3>It skips work your code doesn&#8217;t need to do<\/h3>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;clike&quot;,&quot;mime&quot;:&quot;text\/x-c++src&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:true,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">for (auto mesh : scene.meshes)   \/\/ copies every Mesh\r\n    total += mesh.vertexCount;\r\n\/\/ fix: for (const auto&amp; mesh : scene.meshes)<\/pre>\n<\/div>\n<p data-pm-slice=\"1 1 []\">The range-loop copy check (<code>performance-for-range-copy<\/code>) spots loops that copy each element when a reference would do.<\/p>\n<h3>It gives everyone the same answer<\/h3>\n<p>Inspections are rules. The same code gives the same findings on every run, on every machine, for every teammate. AI assistants are useful for exploring ideas, but their answers can vary from one prompt to the next. That makes them harder to rely on as a shared standard (which is why it&#8217;s often easier to run solo projects with AI).<\/p>\n<p>For team leads, a shared checker set also means a shared definition of &#8220;clean.&#8221; Nobody needs to argue about <code>typedef<\/code> versus <code>using<\/code> in code review. The rule already settles it.<\/p>\n<h3>It stays out of your way, and it&#8217;s VA-integrated<\/h3>\n<p>The parser behind Code Inspections <a href=\"https:\/\/www.wholetomato.com\/features\/feature-code-inspection\">runs in a separate process from Visual Studio<\/a> so it doesn&#8217;t drag down the editor&#8217;s performance. Fixes applied together in a file can also be undone in one step, so trying them is low-risk. And it&#8217;s already a part of Visual Assist. There&#8217;s nothing extra to purchase or install\u2014just turn on Code Inspections and you&#8217;re good to go.<\/p>\n<h2>How to use Code Inspections across your solution<\/h2>\n<p>A few years back, users <a href=\"https:\/\/forums.wholetomato.com\/forum\/topic.asp?TOPIC_ID=14061\">asked on our forum<\/a> for a way to &#8220;run code inspections on all files&#8221;. VA 2026.5 delivers that with project-wide code inspections. Here&#8217;s the general approach you can use for your or your team&#8217;s projects.<\/p>\n<div id=\"attachment_5286\" style=\"width: 762px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5286\" data-attachment-id=\"5286\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/03_code-inspections-rollout-loop\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?fit=1671%2C941&amp;ssl=1\" data-orig-size=\"1671,941\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"03_code-inspections-rollout-loop\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Set your scope and rules once, and the inspections keep up as you code.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?fit=300%2C169&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?fit=1024%2C577&amp;ssl=1\" class=\" wp-image-5286\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?resize=752%2C424&#038;ssl=1\" alt=\"Diagram of a Code Inspections rollout: choose projects, pick a checker set, sort findings, fix or suppress, then leave it running.\" width=\"752\" height=\"424\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?resize=1024%2C577&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?resize=1536%2C865&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?resize=360%2C203&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/03_code-inspections-rollout-loop.png?w=1671&amp;ssl=1 1671w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5286\" class=\"wp-caption-text\">Set your scope and rules once, and the inspections keep up as you code.<\/p><\/div>\n<h3 data-pm-slice=\"1 1 []\">1. Turn it on for your solution<\/h3>\n<p>When you open a solution, Visual Assist asks: <em>&#8220;Run project-wide code inspections for solution &#8216;\u2026&#8217;?&#8221;<\/em> Choose <strong>Enable<\/strong>, and tick <strong>Set as default for new solutions<\/strong> if you like.<\/p>\n<p>Or start from <strong>Extensions \u2192 VAssistX \u2192 Code Inspection \u2192 VA Code Inspection Results<\/strong>. Results appear in the <strong>VA Project-Wide Code Inspection<\/strong> window.<\/p>\n<div id=\"attachment_5287\" style=\"width: 568px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5287\" data-attachment-id=\"5287\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/04_code-inspections-menu-path\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?fit=1191%2C1081&amp;ssl=1\" data-orig-size=\"1191,1081\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"04_code-inspections-menu-path\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The results window lives under Extensions \u2192 VAssistX \u2192 Code Inspection.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?fit=300%2C272&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?fit=1024%2C929&amp;ssl=1\" class=\" wp-image-5287\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?resize=558%2C506&#038;ssl=1\" alt=\"Visual Studio Extensions menu open to VAssistX, then Code Inspection, with VA Code Inspection Results highlighted.\" width=\"558\" height=\"506\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?resize=1024%2C929&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?resize=300%2C272&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?resize=768%2C697&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?resize=360%2C327&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/04_code-inspections-menu-path.png?w=1191&amp;ssl=1 1191w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5287\" class=\"wp-caption-text\">The results window lives under Extensions \u2192 VAssistX \u2192 Code Inspection.<\/p><\/div>\n<div id=\"attachment_5288\" style=\"width: 898px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5288\" data-attachment-id=\"5288\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/05_code-inspections-enable-prompt\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?fit=2560%2C960&amp;ssl=1\" data-orig-size=\"2560,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"05_code-inspections-enable-prompt\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Visual Assist asks once per solution. Choose Enable to inspect the whole thing.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?fit=300%2C113&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?fit=1024%2C384&amp;ssl=1\" class=\" wp-image-5288\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?resize=888%2C333&#038;ssl=1\" alt=\"Visual Assist notification bar asking whether to run project-wide code inspections for the solution, with Enable, Disable, and Use old per-file engine options.\" width=\"888\" height=\"333\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?resize=1024%2C384&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?resize=1536%2C576&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?resize=2048%2C768&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?resize=360%2C135&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/05_code-inspections-enable-prompt.png?w=2280&amp;ssl=1 2280w\" sizes=\"auto, (max-width: 888px) 100vw, 888px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5288\" class=\"wp-caption-text\">Visual Assist asks once per solution. Choose Enable to inspect the whole thing.<\/p><\/div>\n<h3 data-pm-slice=\"1 1 []\">2. Pick the projects you work in<\/h3>\n<p>Choose <strong>All projects<\/strong> or <strong>Choose projects\u2026<\/strong>. Protip: include only the projects you actually work in, because a narrower selection means faster inspections and a smaller database. You can always change the selection later on the <strong>Settings<\/strong> tab.<\/p>\n<div class=\"mceTemp\"><\/div>\n<div id=\"attachment_5289\" style=\"width: 715px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5289\" data-attachment-id=\"5289\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/06_code-inspections-choose-projects\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?fit=1966%2C954&amp;ssl=1\" data-orig-size=\"1966,954\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"06_code-inspections-choose-projects\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Visual Assist asks once per solution. Choose Enable to inspect the whole thing.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?fit=300%2C146&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?fit=1024%2C497&amp;ssl=1\" class=\"wp-image-5289\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?resize=705%2C342&#038;ssl=1\" alt=\"Visual Assist notification bar asking which projects to process, with All projects, Choose projects, and No projects buttons.\" width=\"705\" height=\"342\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?resize=1024%2C497&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?resize=300%2C146&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?resize=768%2C373&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?resize=1536%2C745&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?resize=360%2C175&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/06_code-inspections-choose-projects.png?w=1966&amp;ssl=1 1966w\" sizes=\"auto, (max-width: 705px) 100vw, 705px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5289\" class=\"wp-caption-text\">Start with the projects you touch every day. You can add more later.<\/p><\/div>\n<h3 data-pm-slice=\"1 1 []\">3. Pick a checker set<\/h3>\n<p>In <strong>VA Options \u2192 Code Inspection \u2192 Checker Sets<\/strong>, you&#8217;ll find <strong>VA Default<\/strong>, <strong>C++ Safety<\/strong>, <strong>Combined<\/strong> and <strong>ProjectWide<\/strong>. For the editor, we recommend Combined, which joins the VA Default checks with the C++ Safety checks above. Project-wide scans use the ProjectWide set by default, so you can tune what the whole-solution scan runs without changing the checks you see as you edit. Checks with options show a gear icon on the Checker Sets screen; click it to adjust them.<\/p>\n<p>The default sets are the ones we&#8217;ve tested and tuned. If you want more, you can switch on more of VA&#8217;s clang-tidy-based checks too, for 390+ checks in all.<\/p>\n<div id=\"attachment_5290\" style=\"width: 670px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5290\" data-attachment-id=\"5290\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/07_code-inspections-checker-sets\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?fit=1497%2C836&amp;ssl=1\" data-orig-size=\"1497,836\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"07_code-inspections-checker-sets\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Pick a ready-made set, or customize one check at a time.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?fit=300%2C168&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?fit=1024%2C572&amp;ssl=1\" class=\" wp-image-5290\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?resize=660%2C369&#038;ssl=1\" alt=\"Visual Assist Options dialog, Code Inspection Checker Sets page, with the Set dropdown open showing VA Default, C++ Safety, Combined, and ProjectWide.\" width=\"660\" height=\"369\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?resize=1024%2C572&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?resize=300%2C168&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?resize=768%2C429&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?resize=360%2C201&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/07_code-inspections-checker-sets.png?w=1497&amp;ssl=1 1497w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5290\" class=\"wp-caption-text\">Pick a ready-made set, or customize one check at a time.<\/p><\/div>\n<h3 data-pm-slice=\"1 1 []\">4. Sort before you fix<\/h3>\n<p>The first scan of an older codebase can flag a lot of issues. It&#8217;s years&#8217; worth of code being run through a rule set for the first time.<\/p>\n<p>To make the list easier to work through, use the <strong>Checkers<\/strong>, <strong>Projects<\/strong> and <strong>Files<\/strong> filters and sort by level. Results stream in with your current files first, so you can start reviewing even before the scan finishes.<\/p>\n<p>Our suggestion is to start with the auto-fixable modernize checks for a quick, low-risk win, then work through the level 2 findings by hand.<\/p>\n<div id=\"attachment_5291\" style=\"width: 1034px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5291\" data-attachment-id=\"5291\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/08a_code-inspections-results-window\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?fit=2560%2C1369&amp;ssl=1\" data-orig-size=\"2560,1369\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"08a_code-inspections-results-window\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Findings stream in while the scan runs, so you can start sorting right away.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?fit=300%2C160&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?fit=1024%2C548&amp;ssl=1\" class=\"size-large wp-image-5291\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?resize=1024%2C548&#038;ssl=1\" alt=\"VA Project-Wide Code Inspection window listing findings grouped by project and file, with Checkers, Projects, and Files filters.\" width=\"1024\" height=\"548\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?resize=1024%2C548&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?resize=300%2C160&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?resize=768%2C411&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?resize=1536%2C821&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?resize=2048%2C1095&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?resize=360%2C193&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/08a_code-inspections-results-window.png?w=2280&amp;ssl=1 2280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5291\" class=\"wp-caption-text\">Findings stream in while the scan runs, so you can start sorting right away.<\/p><\/div>\n<h3 data-pm-slice=\"1 1 []\">5. Fix one, a whole file, or everything<\/h3>\n<p>In the editor, put the caret on an issue and press <code>Shift+Alt+Q<\/code> for the quick fix. In the inspection window, right-click a finding for <strong>Apply Selected Quick Fix<\/strong>, <strong>Apply All Quick Fixes in &#8221;<\/strong> or <strong>Apply All Quick Fixes<\/strong>.<\/p>\n<p>Some checks, like use-after-move, flag a problem without offering a fix. Those deserve a human decision anyway.<\/p>\n<div id=\"attachment_5293\" style=\"width: 515px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/09_code-inspections-quick-fix-menu.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5293\" data-attachment-id=\"5293\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/09_code-inspections-quick-fix-menu\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/09_code-inspections-quick-fix-menu.png?fit=743%2C375&amp;ssl=1\" data-orig-size=\"743,375\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"09_code-inspections-quick-fix-menu\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Press Shift+Alt+Q on an issue to apply its fix right in the editor.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/09_code-inspections-quick-fix-menu.png?fit=300%2C151&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/09_code-inspections-quick-fix-menu.png?fit=743%2C375&amp;ssl=1\" class=\" wp-image-5293\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/09_code-inspections-quick-fix-menu.png?resize=505%2C255&#038;ssl=1\" alt=\"Visual Assist quick action menu opened with Shift+Alt+Q on NULL in the editor, with Use 'nullptr' highlighted.\" width=\"505\" height=\"255\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/09_code-inspections-quick-fix-menu.png?w=743&amp;ssl=1 743w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/09_code-inspections-quick-fix-menu.png?resize=300%2C151&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/09_code-inspections-quick-fix-menu.png?resize=360%2C182&amp;ssl=1 360w\" sizes=\"auto, (max-width: 505px) 100vw, 505px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5293\" class=\"wp-caption-text\">Press Shift+Alt+Q on an issue to apply its fix right in the editor.<\/p><\/div>\n<div id=\"attachment_5294\" style=\"width: 510px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5294\" data-attachment-id=\"5294\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/10_code-inspections-apply-all-menu\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?fit=1176%2C838&amp;ssl=1\" data-orig-size=\"1176,838\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"10_code-inspections-apply-all-menu\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Apply one fix, every fix in a file, or every fix in the solution.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?fit=300%2C214&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?fit=1024%2C730&amp;ssl=1\" class=\" wp-image-5294\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?resize=500%2C357&#038;ssl=1\" alt=\"Right-click menu in the VA Project-Wide Code Inspection window with Apply Selected Quick Fix, Apply All Quick Fixes in 'log.cpp', Apply All Quick Fixes, and suppress options.\" width=\"500\" height=\"357\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?resize=1024%2C730&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?resize=300%2C214&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?resize=768%2C547&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?resize=360%2C257&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/10_code-inspections-apply-all-menu.png?w=1176&amp;ssl=1 1176w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5294\" class=\"wp-caption-text\">Apply one fix, every fix in a file, or every fix in the solution.<\/p><\/div>\n<div id=\"attachment_5305\" style=\"width: 769px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/before-after.gif?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5305\" data-attachment-id=\"5305\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/before-after\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/before-after-e1793404075638.gif?fit=1080%2C583&amp;ssl=1\" data-orig-size=\"1080,583\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"before-after\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;One command applied every available fix in the file.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/before-after-e1793404075638.gif?fit=300%2C162&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/before-after-e1793404075638.gif?fit=1024%2C553&amp;ssl=1\" class=\"wp-image-5305\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/before-after.gif?resize=759%2C427&#038;ssl=1\" alt=\"Alt (before): Log.cpp in Visual Studio before applying fixes, with an unused include and two NULL pointer constants.Alt (after): The same C++ file after Apply All Quick Fixes, with the unused include removed and both NULLs replaced by nullptr.\" width=\"759\" height=\"427\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5305\" class=\"wp-caption-text\">One command applied every available fix in the file.<\/p><\/div>\n<h3 data-pm-slice=\"1 1 []\">6. Turn off the rules you don&#8217;t want<\/h3>\n<p>Not every team wants to enforce every rule. For example, if you&#8217;d rather keep your <code>typedef<\/code>s, you can silence the typedef-to-using check (<code>modernize-use-using<\/code>).<\/p>\n<p>From the right-click menu, you can suppress a check in one file, one project or the whole solution, and manage them all on the <strong>Suppressions<\/strong> tab.<\/p>\n<p>You can also suppress it in code. VA honors clang-tidy&#8217;s <code>NOLINT<\/code> comments, so code already set up for clang-tidy carries over properly:<\/p>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;clike&quot;,&quot;mime&quot;:&quot;text\/x-c++src&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:true,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">\/\/ NOLINTNEXTLINE(modernize-use-using)\r\ntypedef std::map&lt;int, Entity*&gt; EntityMap;<\/pre>\n<\/div>\n<p data-pm-slice=\"1 1 []\">VA&#8217;s own <a href=\"https:\/\/www.wholetomato.com\/documentation\/code-inspection\/introduction-to-code-inspection\">vaCI:skip directives<\/a> work too, for a line, a range or a whole file. Put simply, you decide which rules count for your code, and the rest stay quiet.<\/p>\n<div id=\"attachment_5297\" style=\"width: 719px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5297\" data-attachment-id=\"5297\" data-permalink=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/12_code-inspections-suppressions-tab\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?fit=1329%2C232&amp;ssl=1\" data-orig-size=\"1329,232\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"12_code-inspections-suppressions-tab\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Every suppression lives in one place, so it&#8217;s easy to undo later.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?fit=300%2C52&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?fit=1024%2C179&amp;ssl=1\" class=\" wp-image-5297\" src=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?resize=709%2C124&#038;ssl=1\" alt=\"Suppressions tab in the VA Project-Wide Code Inspection window listing a suppressed checker for one file and one project.\" width=\"709\" height=\"124\" srcset=\"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?resize=1024%2C179&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?resize=300%2C52&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?resize=768%2C134&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?resize=360%2C63&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/12_code-inspections-suppressions-tab.png?w=1329&amp;ssl=1 1329w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5297\" class=\"wp-caption-text\">Every suppression lives in one place, so it&#8217;s easy to undo later.<\/p><\/div>\n<h3 data-pm-slice=\"1 1 []\">7. Leave it running<\/h3>\n<p>From here, inspections keep up as you edit and reparse only what changed. This means you can clear the backlog once, and the list will stay short as you add new code.<\/p>\n<h2>Get a second pair of eyes on your whole solution<\/h2>\n<p>Reviewers get tired; inspections don&#8217;t. If you already use Visual Assist, <a href=\"https:\/\/www.wholetomato.com\/features\/whats-new\">update to 2026.5<\/a> and click <strong>Enable<\/strong> when it asks. It&#8217;s often a surprise to see what turns up in code you thought was already <em>clean<\/em>. We think you&#8217;ll be glad you did.<\/p>\n<p>Tell us which checks you want next, or what tripped you up, on our <a href=\"https:\/\/discord.gg\/mxQqAj5PHQ\">Discord<\/a>. Our team appreciates the feedback and uses it to grow the inspection set.<\/p>\n<p>New to Visual Assist? You can try all of this free for 30 days.<\/p>\n<div class=\"banner\" style=\"background:#F4F4F4;border-radius:16px;padding:32px;margin:40px 0;\">\r\n\t<h2 class=\"title\" style=\"margin:0 0 10px;color:#040712;font-size:24px;line-height:1.3;\">Use code inspections to modernize and fix code issues.<\/h2>\r\n\t<h4 class=\"subtitle\" style=\"margin:0 0 22px;color:#4A5565;font-size:16px;font-weight:400;line-height:1.55;\">VA uses clang-tidy checks to find and flag fixes in your codebase using a deterministic parser. Detect and apply fixes in bulk on your whole solution.<\/h4>\r\n\t<div class=\"actions\">\r\n\t\t<a class=\"button primary\" style=\"display:inline-block;background:#E7000B;color:#FFFFFF;padding:12px 24px;border-radius:8px;text-decoration:none;font-weight:600;\" href=\"https:\/\/www.wholetomato.com\/downloads?utm_content=blog-\">Try Visual Assist<\/a>\r\n\t<\/div>\r\n<\/div>\n<h2 data-pm-slice=\"1 1 []\">FAQ<\/h2>\n<h3>Is Code Inspections the same as clang-tidy?<\/h3>\n<p>Not exactly. It&#8217;s built on LLVM&#8217;s clang-tidy checks and runs inside Visual Studio, with quick fixes, levels and suppressions on top.<\/p>\n<h3>Is Code Inspections AI?<\/h3>\n<p>No. It&#8217;s rule-based, so the same code always gives the same findings.<\/p>\n<h3>Will it slow down Visual Studio?<\/h3>\n<p>It&#8217;s designed not to. The parser runs in a separate process. For an even lighter load, inspect fewer projects or turn off automatic reparsing.<\/p>\n<h3>Why don&#8217;t some issues show up?<\/h3>\n<p>In the per-file inspection, third-party directories are skipped by default (project-wide scans include them). A compile error also stops inspection at that point in the file, and some checks switch off when the project&#8217;s C++ standard is too old for their fix.<\/p>\n<h3>What does \u201cParsing failed!\u201d mean?<\/h3>\n<p>It depends on where you see it. If the editor shows \u201cParsing failed!\u201d, that comes from the per-file inspection: turn on VA logging and send support the VaCodeInspections.log file from your %TEMP% folder. For project-wide scans, open the Log tab and filter it to Warning to see which files failed. To find out why, right-click one of that file\u2019s results, choose Collect Support Information, and send support the zip.<\/p>\n<h3>Which Visual Studio versions are supported?<\/h3>\n<p>Code Inspections works in Visual Studio 2010 and newer. Project-wide inspection needs Visual Studio 2015 or newer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most people use Visual Assist to get around a codebase and refactor safely. But there&#8217;s a whole set of checks and one-click fixes, just one checkbox away, that most users don&#8217;t know about\u2014Code Inspections. Code&#8230;<\/p>\n","protected":false},"author":213500340,"featured_media":5283,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[672],"tags":[726360521,726360527,4458826,726360539,726360777],"class_list":["post-5281","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks","tag-c-safety","tag-clang-tidy","tag-code-inspection","tag-static-analysis","tag-visual-assist-2026-5"],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/00_code-inspections-header.png?fit=1672%2C941&ssl=1","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfpLS4-1nb","aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.7.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"Tristan Soliven\"\/>\n\t<meta name=\"google-site-verification\" content=\"DtHrwoEjg0KG_fbuPSp5j_wNIf-g5hSh4EH6tZBoCIw\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.7.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Visual Assist Blog - C++ and Visual Studio guides from the Visual Assist team. Working in large and legacy codebases, refactoring, AI tooling, plus notes on every release.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Why You Should Turn On Code Inspections in Visual Assist\" \/>\n\t\t<meta property=\"og:description\" content=\"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-31T00:05:01+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-31T00:29:50+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wholetomatosoftware\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@visualassist\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Why You Should Turn On Code Inspections in Visual Assist\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@visualassist\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#blogposting\",\"headline\":\"Why You Should Turn On Code Inspections in Visual Assist\",\"name\":\"Why You Should Turn On Code Inspections in Visual Assist\",\"description\":\"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.\",\"author\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/author\\\/tristansoliven\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/00_code-inspections-header.png\"},\"datePublished\":\"FILL_YYYY-MM-DDTHH:MM:SS-05:00\",\"dateModified\":\"FILL_YYYY-MM-DDTHH:MM:SS-05:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#webpage\"},\"articleSection\":\"Tips and Tricks\",\"keywords\":\"code inspection, clang-tidy, static analysis, c++ safety, visual assist 2026.5\",\"about\":{\"@type\":\"SoftwareApplication\",\"name\":\"Visual Assist\",\"applicationCategory\":\"DeveloperApplication\",\"operatingSystem\":\"Windows\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/\"}},{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#blogposting\",\"name\":\"Why You Should Turn On Code Inspections in Visual Assist\",\"headline\":\"Why You Should Turn On Code Inspections in Visual Assist\",\"author\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/author\\\/tristansoliven\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.wholetomato.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/00_code-inspections-header.png?fit=1672%2C941&ssl=1\",\"width\":1672,\"height\":941,\"caption\":\"Code Inspections reads every line of your solution the same way, every time.\"},\"datePublished\":\"2026-10-30T20:05:01-04:00\",\"dateModified\":\"2026-10-30T20:29:50-04:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#webpage\"},\"articleSection\":\"Tips and Tricks, C++ safety, Clang-Tidy, code inspection, static analysis, visual assist 2026.5, English\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/category\\\/tips-and-tricks\\\/#listItem\",\"name\":\"Tips and Tricks\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/category\\\/tips-and-tricks\\\/#listItem\",\"position\":2,\"name\":\"Tips and Tricks\",\"item\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/category\\\/tips-and-tricks\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#listItem\",\"name\":\"Why You Should Turn On Code Inspections in Visual Assist\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#listItem\",\"position\":3,\"name\":\"Why You Should Turn On Code Inspections in Visual Assist\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/category\\\/tips-and-tricks\\\/#listItem\",\"name\":\"Tips and Tricks\"}}]},{\"@type\":\"FAQPage\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#faq\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#webpage\"},\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Is Code Inspections the same as clang-tidy?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Not exactly. It's built on LLVM's clang-tidy checks and runs inside Visual Studio, with quick fixes, levels and suppressions on top.\"}},{\"@type\":\"Question\",\"name\":\"Is Code Inspections AI?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. It's rule-based, so the same code always gives the same findings.\"}},{\"@type\":\"Question\",\"name\":\"Will it slow down Visual Studio?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It's designed not to. The parser runs in a separate process. For an even lighter load, inspect fewer projects or turn off automatic reparsing.\"}},{\"@type\":\"Question\",\"name\":\"Why don't some issues show up?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"In the per-file inspection, third-party directories are skipped by default (project-wide scans include them). A compile error also stops inspection at that point in the file, and some checks switch off when the project's C++ standard is too old for their fix.\"}},{\"@type\":\"Question\",\"name\":\"What does \\u201cParsing failed!\\u201d mean?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It depends on where you see it. If the editor shows \\u201cParsing failed!\\u201d, that comes from the per-file inspection: turn on VA logging and send support the VaCodeInspections.log file from your %TEMP% folder. For project-wide scans, open the Log tab and filter it to Warning to see which files failed. To find out why, right-click one of that file\\u2019s results, choose Collect Support Information, and send support the zip.\"}},{\"@type\":\"Question\",\"name\":\"Which Visual Studio versions are supported?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Code Inspections works in Visual Studio 2010 and newer. Project-wide inspection needs Visual Studio 2015 or newer.\"}}]},{\"@type\":\"HowTo\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#howto\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#webpage\"},\"name\":\"How to use Code Inspections across your solution\",\"description\":\"Step-by-step guide to using Visual Assist Code Inspections to improve C++ code across a solution.\",\"image\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/00_code-inspections-header.png\",\"tool\":{\"@type\":\"HowToTool\",\"name\":\"Visual Assist 2026.5 for Visual Studio 2015 or newer\"},\"step\":[{\"@type\":\"HowToStep\",\"position\":1,\"name\":\"Turn on Code Inspections for your solution\",\"text\":\"When you open a solution, Visual Assist asks whether to run project-wide code inspections. Choose Enable, and tick Set as default for new solutions if you like.\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#step-1\"},{\"@type\":\"HowToStep\",\"position\":2,\"name\":\"Pick the projects you work in\",\"text\":\"Choose All projects or Choose projects. Include only the projects you work in, because a narrower selection means faster inspections and a smaller database.\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#step-2\"},{\"@type\":\"HowToStep\",\"position\":3,\"name\":\"Pick a checker set\",\"text\":\"In VA Options \\u2192 Code Inspection \\u2192 Checker Sets, choose a set. Combined is recommended for the editor; project-wide scans use the ProjectWide set by default. Checks with options show a gear icon.\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#step-3\"},{\"@type\":\"HowToStep\",\"position\":4,\"name\":\"Sort before you fix\",\"text\":\"Use the Checkers, Projects and Files filters and sort by level. Results stream in with your current files first, so you can start reviewing before the scan finishes.\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#step-4\"},{\"@type\":\"HowToStep\",\"position\":5,\"name\":\"Fix one, a whole file, or everything\",\"text\":\"Press Shift+Alt+Q on an issue in the editor, or right-click a finding in the inspection window and choose Apply Selected Quick Fix, Apply All Quick Fixes in the file, or Apply All Quick Fixes.\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#step-5\"},{\"@type\":\"HowToStep\",\"position\":6,\"name\":\"Turn off the rules you don't want\",\"text\":\"Suppress a check in one file, one project or the whole solution from the right-click menu and manage them on the Suppressions tab, or use clang-tidy NOLINT comments and vaCI:skip directives in code.\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#step-6\"},{\"@type\":\"HowToStep\",\"position\":7,\"name\":\"Leave it running\",\"text\":\"Inspections keep up as you edit and reparse only what changed, so once the backlog is cleared, the list stays short as you add new code.\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#step-7\"}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/#organization\",\"name\":\"Tomato Soup\",\"description\":\"C++ and Visual Studio guides from the Visual Assist team. Working in large and legacy codebases, refactoring, AI tooling, plus notes on every release.\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/\",\"email\":\"info@wholetomato.com\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":0,\"maxValue\":100},\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.wholetomato.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/WT_symbol.png?fit=112%2C112&ssl=1\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#organizationLogo\",\"width\":112,\"height\":112,\"caption\":\"visual assist main tomato symbol icon\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/wholetomatosoftware\",\"https:\\\/\\\/twitter.com\\\/visualassist\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/Wholetomatosoftware\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/whole-tomato-software\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/author\\\/tristansoliven\\\/#author\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/author\\\/tristansoliven\\\/\",\"name\":\"Tristan Soliven\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#webpage\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/\",\"name\":\"Why You Should Turn On Code Inspections in Visual Assist\",\"description\":\"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/author\\\/tristansoliven\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/author\\\/tristansoliven\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.wholetomato.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/00_code-inspections-header.png?fit=1672%2C941&ssl=1\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#mainImage\",\"width\":1672,\"height\":941,\"caption\":\"Code Inspections reads every line of your solution the same way, every time.\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/visual-assist-code-inspections\\\/#mainImage\"},\"datePublished\":\"2026-10-30T20:05:01-04:00\",\"dateModified\":\"2026-10-30T20:29:50-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/\",\"name\":\"Tomato Soup\",\"description\":\"C++ and Visual Studio guides from the Visual Assist team. Working in large and legacy codebases, refactoring, AI tooling, plus notes on every release.\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wholetomato.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Why You Should Turn On Code Inspections in Visual Assist<\/title>\n\n","aioseo_head_json":{"title":"Why You Should Turn On Code Inspections in Visual Assist","description":"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.","canonical_url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"google-site-verification":"DtHrwoEjg0KG_fbuPSp5j_wNIf-g5hSh4EH6tZBoCIw","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#blogposting","headline":"Why You Should Turn On Code Inspections in Visual Assist","name":"Why You Should Turn On Code Inspections in Visual Assist","description":"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.","author":{"@id":"https:\/\/www.wholetomato.com\/blog\/author\/tristansoliven\/#author"},"publisher":{"@id":"https:\/\/www.wholetomato.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/00_code-inspections-header.png"},"datePublished":"FILL_YYYY-MM-DDTHH:MM:SS-05:00","dateModified":"FILL_YYYY-MM-DDTHH:MM:SS-05:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage"},"isPartOf":{"@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage"},"articleSection":"Tips and Tricks","keywords":"code inspection, clang-tidy, static analysis, c++ safety, visual assist 2026.5","about":{"@type":"SoftwareApplication","name":"Visual Assist","applicationCategory":"DeveloperApplication","operatingSystem":"Windows","url":"https:\/\/www.wholetomato.com\/"}},{"@type":"BlogPosting","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#blogposting","name":"Why You Should Turn On Code Inspections in Visual Assist","headline":"Why You Should Turn On Code Inspections in Visual Assist","author":{"@id":"https:\/\/www.wholetomato.com\/blog\/author\/tristansoliven\/#author"},"publisher":{"@id":"https:\/\/www.wholetomato.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/00_code-inspections-header.png?fit=1672%2C941&ssl=1","width":1672,"height":941,"caption":"Code Inspections reads every line of your solution the same way, every time."},"datePublished":"2026-10-30T20:05:01-04:00","dateModified":"2026-10-30T20:29:50-04:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage"},"isPartOf":{"@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage"},"articleSection":"Tips and Tricks, C++ safety, Clang-Tidy, code inspection, static analysis, visual assist 2026.5, English"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.wholetomato.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.wholetomato.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.wholetomato.com\/blog\/category\/tips-and-tricks\/#listItem","name":"Tips and Tricks"}},{"@type":"ListItem","@id":"https:\/\/www.wholetomato.com\/blog\/category\/tips-and-tricks\/#listItem","position":2,"name":"Tips and Tricks","item":"https:\/\/www.wholetomato.com\/blog\/category\/tips-and-tricks\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#listItem","name":"Why You Should Turn On Code Inspections in Visual Assist"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.wholetomato.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#listItem","position":3,"name":"Why You Should Turn On Code Inspections in Visual Assist","previousItem":{"@type":"ListItem","@id":"https:\/\/www.wholetomato.com\/blog\/category\/tips-and-tricks\/#listItem","name":"Tips and Tricks"}}]},{"@type":"FAQPage","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#faq","isPartOf":{"@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage"},"mainEntity":[{"@type":"Question","name":"Is Code Inspections the same as clang-tidy?","acceptedAnswer":{"@type":"Answer","text":"Not exactly. It's built on LLVM's clang-tidy checks and runs inside Visual Studio, with quick fixes, levels and suppressions on top."}},{"@type":"Question","name":"Is Code Inspections AI?","acceptedAnswer":{"@type":"Answer","text":"No. It's rule-based, so the same code always gives the same findings."}},{"@type":"Question","name":"Will it slow down Visual Studio?","acceptedAnswer":{"@type":"Answer","text":"It's designed not to. The parser runs in a separate process. For an even lighter load, inspect fewer projects or turn off automatic reparsing."}},{"@type":"Question","name":"Why don't some issues show up?","acceptedAnswer":{"@type":"Answer","text":"In the per-file inspection, third-party directories are skipped by default (project-wide scans include them). A compile error also stops inspection at that point in the file, and some checks switch off when the project's C++ standard is too old for their fix."}},{"@type":"Question","name":"What does \u201cParsing failed!\u201d mean?","acceptedAnswer":{"@type":"Answer","text":"It depends on where you see it. If the editor shows \u201cParsing failed!\u201d, that comes from the per-file inspection: turn on VA logging and send support the VaCodeInspections.log file from your %TEMP% folder. For project-wide scans, open the Log tab and filter it to Warning to see which files failed. To find out why, right-click one of that file\u2019s results, choose Collect Support Information, and send support the zip."}},{"@type":"Question","name":"Which Visual Studio versions are supported?","acceptedAnswer":{"@type":"Answer","text":"Code Inspections works in Visual Studio 2010 and newer. Project-wide inspection needs Visual Studio 2015 or newer."}}]},{"@type":"HowTo","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#howto","isPartOf":{"@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage"},"name":"How to use Code Inspections across your solution","description":"Step-by-step guide to using Visual Assist Code Inspections to improve C++ code across a solution.","image":"https:\/\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/00_code-inspections-header.png","tool":{"@type":"HowToTool","name":"Visual Assist 2026.5 for Visual Studio 2015 or newer"},"step":[{"@type":"HowToStep","position":1,"name":"Turn on Code Inspections for your solution","text":"When you open a solution, Visual Assist asks whether to run project-wide code inspections. Choose Enable, and tick Set as default for new solutions if you like.","url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-1"},{"@type":"HowToStep","position":2,"name":"Pick the projects you work in","text":"Choose All projects or Choose projects. Include only the projects you work in, because a narrower selection means faster inspections and a smaller database.","url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-2"},{"@type":"HowToStep","position":3,"name":"Pick a checker set","text":"In VA Options \u2192 Code Inspection \u2192 Checker Sets, choose a set. Combined is recommended for the editor; project-wide scans use the ProjectWide set by default. Checks with options show a gear icon.","url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-3"},{"@type":"HowToStep","position":4,"name":"Sort before you fix","text":"Use the Checkers, Projects and Files filters and sort by level. Results stream in with your current files first, so you can start reviewing before the scan finishes.","url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-4"},{"@type":"HowToStep","position":5,"name":"Fix one, a whole file, or everything","text":"Press Shift+Alt+Q on an issue in the editor, or right-click a finding in the inspection window and choose Apply Selected Quick Fix, Apply All Quick Fixes in the file, or Apply All Quick Fixes.","url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-5"},{"@type":"HowToStep","position":6,"name":"Turn off the rules you don't want","text":"Suppress a check in one file, one project or the whole solution from the right-click menu and manage them on the Suppressions tab, or use clang-tidy NOLINT comments and vaCI:skip directives in code.","url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-6"},{"@type":"HowToStep","position":7,"name":"Leave it running","text":"Inspections keep up as you edit and reparse only what changed, so once the backlog is cleared, the list stays short as you add new code.","url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-7"}]},{"@type":"Organization","@id":"https:\/\/www.wholetomato.com\/blog\/#organization","name":"Tomato Soup","description":"C++ and Visual Studio guides from the Visual Assist team. Working in large and legacy codebases, refactoring, AI tooling, plus notes on every release.","url":"https:\/\/www.wholetomato.com\/blog\/","email":"info@wholetomato.com","numberOfEmployees":{"@type":"QuantitativeValue","minValue":0,"maxValue":100},"logo":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/05\/WT_symbol.png?fit=112%2C112&ssl=1","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#organizationLogo","width":112,"height":112,"caption":"visual assist main tomato symbol icon"},"image":{"@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/wholetomatosoftware","https:\/\/twitter.com\/visualassist","https:\/\/www.youtube.com\/c\/Wholetomatosoftware","https:\/\/www.linkedin.com\/company\/whole-tomato-software"]},{"@type":"Person","@id":"https:\/\/www.wholetomato.com\/blog\/author\/tristansoliven\/#author","url":"https:\/\/www.wholetomato.com\/blog\/author\/tristansoliven\/","name":"Tristan Soliven"},{"@type":"WebPage","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage","url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/","name":"Why You Should Turn On Code Inspections in Visual Assist","description":"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.wholetomato.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#breadcrumblist"},"author":{"@id":"https:\/\/www.wholetomato.com\/blog\/author\/tristansoliven\/#author"},"creator":{"@id":"https:\/\/www.wholetomato.com\/blog\/author\/tristansoliven\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/00_code-inspections-header.png?fit=1672%2C941&ssl=1","@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#mainImage","width":1672,"height":941,"caption":"Code Inspections reads every line of your solution the same way, every time."},"primaryImageOfPage":{"@id":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#mainImage"},"datePublished":"2026-10-30T20:05:01-04:00","dateModified":"2026-10-30T20:29:50-04:00"},{"@type":"WebSite","@id":"https:\/\/www.wholetomato.com\/blog\/#website","url":"https:\/\/www.wholetomato.com\/blog\/","name":"Tomato Soup","description":"C++ and Visual Studio guides from the Visual Assist team. Working in large and legacy codebases, refactoring, AI tooling, plus notes on every release.","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.wholetomato.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Visual Assist Blog - C++ and Visual Studio guides from the Visual Assist team. Working in large and legacy codebases, refactoring, AI tooling, plus notes on every release.","og:type":"article","og:title":"Why You Should Turn On Code Inspections in Visual Assist","og:description":"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.","og:url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/","article:published_time":"2026-10-31T00:05:01+00:00","article:modified_time":"2026-10-31T00:29:50+00:00","article:publisher":"https:\/\/www.facebook.com\/wholetomatosoftware","twitter:card":"summary_large_image","twitter:site":"@visualassist","twitter:title":"Why You Should Turn On Code Inspections in Visual Assist","twitter:description":"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.","twitter:creator":"@visualassist"},"aioseo_meta_data":{"post_id":"5281","title":"Why You Should Turn On Code Inspections in Visual Assist","description":"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.","keywords":null,"keyphrases":{"focus":{"keyphrase":"clang-tidy Visual Studio","score":37,"analysis":{"keyphraseInTitle":{"score":3,"maxScore":9,"error":1},"keyphraseInDescription":{"score":3,"maxScore":9,"error":1},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":3},"keyphraseInURL":{"score":1,"maxScore":5,"error":1},"keyphraseInIntroduction":{"score":3,"maxScore":9,"error":1},"keyphraseInSubHeadings":{"score":3,"maxScore":9,"error":1},"keyphraseInImageAlt":{"score":3,"maxScore":9,"error":1},"keywordDensity":{"score":0,"type":"low","maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/","og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[{"id":"#aioseo-custom-mvvmywtgv31y","custom":true,"graphName":"HowTo","schema":"{ \"@graph\": [ { \"@type\": \"BlogPosting\", \"@id\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#blogposting\", \"headline\": \"Why You Should Turn On Code Inspections in Visual Assist\", \"name\": \"Why You Should Turn On Code Inspections in Visual Assist\", \"description\": \"Visual Assist Code Inspections check your C++ with clang-tidy rules as you type. See real examples of what they catch and how to run them across a solution.\", \"author\": { \"@id\": \"https:\/\/www.wholetomato.com\/blog\/author\/tristansoliven\/#author\" }, \"publisher\": { \"@id\": \"https:\/\/www.wholetomato.com\/blog\/#organization\" }, \"image\": { \"@type\": \"ImageObject\", \"url\": \"https:\/\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/00_code-inspections-header.png\" }, \"datePublished\": \"FILL_YYYY-MM-DDTHH:MM:SS-05:00\", \"dateModified\": \"FILL_YYYY-MM-DDTHH:MM:SS-05:00\", \"inLanguage\": \"en-US\", \"mainEntityOfPage\": { \"@id\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage\" }, \"isPartOf\": { \"@id\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage\" }, \"articleSection\": \"Tips and Tricks\", \"keywords\": \"code inspection, clang-tidy, static analysis, c++ safety, visual assist 2026.5\", \"about\": { \"@type\": \"SoftwareApplication\", \"name\": \"Visual Assist\", \"applicationCategory\": \"DeveloperApplication\", \"operatingSystem\": \"Windows\", \"url\": \"https:\/\/www.wholetomato.com\/\" } }, { \"@type\": \"HowTo\", \"@id\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#howto\", \"isPartOf\": { \"@id\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage\" }, \"name\": \"How to use Code Inspections across your solution\", \"description\": \"Step-by-step guide to using Visual Assist Code Inspections to improve C++ code across a solution.\", \"image\": \"https:\/\/www.wholetomato.com\/blog\/wp-content\/uploads\/2026\/10\/00_code-inspections-header.png\", \"tool\": { \"@type\": \"HowToTool\", \"name\": \"Visual Assist 2026.5 for Visual Studio 2015 or newer\" }, \"step\": [ { \"@type\": \"HowToStep\", \"position\": 1, \"name\": \"Turn on Code Inspections for your solution\", \"text\": \"When you open a solution, Visual Assist asks whether to run project-wide code inspections. Choose Enable, and tick Set as default for new solutions if you like.\", \"url\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-1\" }, { \"@type\": \"HowToStep\", \"position\": 2, \"name\": \"Pick the projects you work in\", \"text\": \"Choose All projects or Choose projects. Include only the projects you work in, because a narrower selection means faster inspections and a smaller database.\", \"url\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-2\" }, { \"@type\": \"HowToStep\", \"position\": 3, \"name\": \"Pick a checker set\", \"text\": \"In VA Options \u2192 Code Inspection \u2192 Checker Sets, choose a set. Combined is recommended for the editor; project-wide scans use the ProjectWide set by default. Checks with options show a gear icon.\", \"url\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-3\" }, { \"@type\": \"HowToStep\", \"position\": 4, \"name\": \"Sort before you fix\", \"text\": \"Use the Checkers, Projects and Files filters and sort by level. Results stream in with your current files first, so you can start reviewing before the scan finishes.\", \"url\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-4\" }, { \"@type\": \"HowToStep\", \"position\": 5, \"name\": \"Fix one, a whole file, or everything\", \"text\": \"Press Shift+Alt+Q on an issue in the editor, or right-click a finding in the inspection window and choose Apply Selected Quick Fix, Apply All Quick Fixes in the file, or Apply All Quick Fixes.\", \"url\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-5\" }, { \"@type\": \"HowToStep\", \"position\": 6, \"name\": \"Turn off the rules you don't want\", \"text\": \"Suppress a check in one file, one project or the whole solution from the right-click menu and manage them on the Suppressions tab, or use clang-tidy NOLINT comments and vaCI:skip directives in code.\", \"url\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-6\" }, { \"@type\": \"HowToStep\", \"position\": 7, \"name\": \"Leave it running\", \"text\": \"Inspections keep up as you edit and reparse only what changed, so once the backlog is cleared, the list stays short as you add new code.\", \"url\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#step-7\" } ] }, { \"@type\": \"FAQPage\", \"@id\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#faq\", \"isPartOf\": { \"@id\": \"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/#webpage\" }, \"mainEntity\": [ { \"@type\": \"Question\", \"name\": \"Is Code Inspections the same as clang-tidy?\", \"acceptedAnswer\": { \"@type\": \"Answer\", \"text\": \"Not exactly. It's built on LLVM's clang-tidy checks and runs inside Visual Studio, with quick fixes, levels and suppressions on top.\" } }, { \"@type\": \"Question\", \"name\": \"Is Code Inspections AI?\", \"acceptedAnswer\": { \"@type\": \"Answer\", \"text\": \"No. It's rule-based, so the same code always gives the same findings.\" } }, { \"@type\": \"Question\", \"name\": \"Will it slow down Visual Studio?\", \"acceptedAnswer\": { \"@type\": \"Answer\", \"text\": \"It's designed not to. The parser runs in a separate process. For an even lighter load, inspect fewer projects or turn off automatic reparsing.\" } }, { \"@type\": \"Question\", \"name\": \"Why don't some issues show up?\", \"acceptedAnswer\": { \"@type\": \"Answer\", \"text\": \"In the per-file inspection, third-party directories are skipped by default (project-wide scans include them). A compile error also stops inspection at that point in the file, and some checks switch off when the project's C++ standard is too old for their fix.\" } }, { \"@type\": \"Question\", \"name\": \"What does \u201cParsing failed!\u201d mean?\", \"acceptedAnswer\": { \"@type\": \"Answer\", \"text\": \"It depends on where you see it. If the editor shows \u201cParsing failed!\u201d, that comes from the per-file inspection: turn on VA logging and send support the VaCodeInspections.log file from your %TEMP% folder. For project-wide scans, open the Log tab and filter it to Warning to see which files failed. To find out why, right-click one of that file\u2019s results, choose Collect Support Information, and send support the zip.\" } }, { \"@type\": \"Question\", \"name\": \"Which Visual Studio versions are supported?\", \"acceptedAnswer\": { \"@type\": \"Answer\", \"text\": \"Code Inspections works in Visual Studio 2010 and newer. Project-wide inspection needs Visual Studio 2015 or newer.\" } } ] } ] }"}],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"open_ai":null,"ai":{"faqs":[],"keyPoints":[],"schemas":[{"schemaType":"HowTo","schemaData":{"@type":"HowTo","name":"#post_title","image":["#featured_image_url"],"description":"Step-by-step guide to using Visual Assist Code Inspections to improve C++ code across a solution.","step":[{"@type":"HowToStep","position":1,"name":"Turn on Code Inspections for your solution","text":"When you open a solution, Visual Assist asks to run project-wide code inspections. Enable it and set as default for new solutions if you like."},{"@type":"HowToStep","position":2,"name":"Choose the projects you work in","text":"Select All projects or Choose projects\u2026. Include only projects you actually work in for faster inspections."},{"@type":"HowToStep","position":3,"name":"Pick a checker set","text":"In VA Options \u2192 Code Inspection \u2192 Checker Sets, choose a set (Combined recommended) and adjust individual checks if needed."},{"@type":"HowToStep","position":4,"name":"Sort before you fix","text":"Use Checkers, Projects, and Files filters and sort by level; review current files first."},{"@type":"HowToStep","position":5,"name":"Fix one, a whole file, or everything","text":"Use quick fixes in editor or in the inspection window to apply fixes to a single issue, a file, or the whole solution."},{"@type":"HowToStep","position":6,"name":"Turn off the rules you don\u2019t want","text":"Suppress or NOLINT directives to silence specific checks."},{"@type":"HowToStep","position":7,"name":"Leave it running","text":"Inspections continue as you edit and reparse only changed code."}],"totalTime":"PT0M","estimatedCost":{"@type":"MonetaryAmount","currency":"USD","value":"0"}},"confidence":72,"reasoning":"HowTo schema captures the article as a practical, step-by-step guide about enabling and using Visual Assist Code Inspections, including the seven clearly defined steps present in the content."},{"schemaType":"FAQPage","schemaData":{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Is Code Inspections the same as clang-tidy?","acceptedAnswer":{"@type":"Answer","text":"Not exactly. It's built on LLVM's clang-tidy checks and runs inside Visual Studio, with quick fixes, levels and suppressions on top."}},{"@type":"Question","name":"Is Code Inspections AI?","acceptedAnswer":{"@type":"Answer","text":"No. It's rule-based, so the same code always gives the same findings."}},{"@type":"Question","name":"Will it slow down Visual Studio?","acceptedAnswer":{"@type":"Answer","text":"It's designed not to. The parser runs in a separate process. For an even lighter load, inspect fewer projects or turn off automatic reparsing."}},{"@type":"Question","name":"Why don\u2019t some issues show up?","acceptedAnswer":{"@type":"Answer","text":"In the per-file inspection, third-party directories are skipped by default (project-wide scans include them). A compile error also stops inspection at that point in the file, and some checks switch off when the project's C++ standard is too old for their fix."}},{"@type":"Question","name":"What does \u201cParsing failed!\u201d mean?","acceptedAnswer":{"@type":"Answer","text":"That message comes from the per-file inspection; turn on VA logging and send the VaCodeInspections.log file from your TEMP folder, or use the Log tab for project-wide scans."}},{"@type":"Question","name":"Which Visual Studio versions are supported?","acceptedAnswer":{"@type":"Answer","text":"Code Inspections works in Visual Studio 2010 and newer. Project-wide inspection needs Visual Studio 2015 or newer."}}]},"confidence":68,"reasoning":"FAQPage adds direct user-facing questions and answers present in the content, providing structured Q&A pairs that supplement the main article, with a conservative grounding of the exact text from the page."}],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-10-30 19:50:49","updated":"2026-10-31 00:30:14","reviewed_by":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.wholetomato.com\/blog\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.wholetomato.com\/blog\/category\/tips-and-tricks\/\" title=\"Tips and Tricks\">Tips and Tricks<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\tWhy You Should Turn On Code Inspections in Visual Assist\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.wholetomato.com\/blog"},{"label":"Tips and Tricks","link":"https:\/\/www.wholetomato.com\/blog\/category\/tips-and-tricks\/"},{"label":"Why You Should Turn On Code Inspections in Visual Assist","link":"https:\/\/www.wholetomato.com\/blog\/visual-assist-code-inspections\/"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/5281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/users\/213500340"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/comments?post=5281"}],"version-history":[{"count":12,"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/5281\/revisions"}],"predecessor-version":[{"id":5309,"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/5281\/revisions\/5309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/media\/5283"}],"wp:attachment":[{"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/media?parent=5281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/categories?post=5281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wholetomato.com\/blog\/wp-json\/wp\/v2\/tags?post=5281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}