{"id":384,"date":"2024-08-07T19:45:17","date_gmt":"2024-08-07T16:45:17","guid":{"rendered":"https:\/\/www.nicau.ro\/?p=384"},"modified":"2024-08-07T19:45:17","modified_gmt":"2024-08-07T16:45:17","slug":"how-to-restore-the-visual-studio-code-build-errors-dialog","status":"publish","type":"post","link":"https:\/\/www.nicau.ro\/?p=384","title":{"rendered":"How to restore the Visual Studio Code build errors dialog"},"content":{"rendered":"\n<p>The Visual Studio Code is a great tool which I use sometimes to write\/debug code snippets. It&#8217;s got everything you&#8217;d want: it&#8217;s modern, free, has got cloud plugins, it&#8217;s well documented, etc.<\/p>\n\n\n\n<p>For a full experience you can integrate it easily with build\/debugging tools. That&#8217;s what I did with C++\/MSYS64 then you hit CTRL+F5 and it snaps a new build right away \ud83d\ude00<\/p>\n\n\n\n<p>Let&#8217;s say you are less than perfect and sometimes after a build you get some build errors. <\/p>\n\n\n\n<p>A dialog pops up asking if you want to see the errors or simply &#8220;Debug anyway&#8221; which will take you in a debug session on the <em>old<\/em> executable. Not sure who would use that, especially since you hit CTRL+F5 (run without debugging) and not the F5 (start debugging)<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/dialog.png\"><img loading=\"lazy\" width=\"658\" height=\"175\" src=\"https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/dialog.png\" alt=\"\" class=\"wp-image-385\" srcset=\"https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/dialog.png 658w, https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/dialog-300x80.png 300w, https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/dialog-624x166.png 624w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Maybe that choice comes unexpected so<strong> you &#8220;Debug anyway&#8221; then tick the &#8220;Remember my choice in user settings&#8221;<\/strong>. Aaand that spells trouble :)) on new builds you&#8217;ll go auto-debug the old code, instead of some popup showing \/ clearly showing the Problems tab<\/p>\n\n\n\n<p><strong>To restore showing the dialog on future builds<\/strong> you need to go to:<br>File > Preferences > Settings, then search for the &#8220;On Task Errors&#8221; then simply change to &#8220;prompt&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/fixing.png\"><img loading=\"lazy\" width=\"887\" height=\"290\" src=\"https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/fixing.png\" alt=\"\" class=\"wp-image-386\" srcset=\"https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/fixing.png 887w, https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/fixing-300x98.png 300w, https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/fixing-768x251.png 768w, https:\/\/www.nicau.ro\/wp-content\/uploads\/2024\/08\/fixing-624x204.png 624w\" sizes=\"(max-width: 887px) 100vw, 887px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Note, the above are valid at least with Visual Studio Code version 1.92.0<\/p>\n\n\n\n<p>Keywords: VSCode, Visual Studio Code, show build popup, show build errors dialog, revert rember my choice<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Visual Studio Code is a great tool which I use sometimes to write\/debug code snippets. It&#8217;s got everything you&#8217;d want: it&#8217;s modern, free, has got cloud plugins, it&#8217;s well documented, etc. For a full experience you can integrate it easily with build\/debugging tools. That&#8217;s what I did with C++\/MSYS64 then you hit CTRL+F5 and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[19,18,17,16],"_links":{"self":[{"href":"https:\/\/www.nicau.ro\/index.php?rest_route=\/wp\/v2\/posts\/384"}],"collection":[{"href":"https:\/\/www.nicau.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nicau.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nicau.ro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nicau.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=384"}],"version-history":[{"count":2,"href":"https:\/\/www.nicau.ro\/index.php?rest_route=\/wp\/v2\/posts\/384\/revisions"}],"predecessor-version":[{"id":388,"href":"https:\/\/www.nicau.ro\/index.php?rest_route=\/wp\/v2\/posts\/384\/revisions\/388"}],"wp:attachment":[{"href":"https:\/\/www.nicau.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nicau.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nicau.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}