{"id":3813,"date":"2008-10-18T12:00:00","date_gmt":"2008-10-18T12:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vbteam\/2008\/10\/18\/a-vs-plugin-to-background-run-your-code-and-see-the-output-lucian-wischik\/"},"modified":"2024-07-05T14:06:12","modified_gmt":"2024-07-05T21:06:12","slug":"a-vs-plugin-to-background-run-your-code-and-see-the-output-lucian-wischik","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/vbteam\/a-vs-plugin-to-background-run-your-code-and-see-the-output-lucian-wischik\/","title":{"rendered":"A VS plugin to background-run your code and see the output (Lucian Wischik)"},"content":{"rendered":"<p>Say you&#8217;re demonstrating&nbsp;some code&nbsp;at a conference. What&#8217;s the best way to do it? If you show&nbsp;only the code window, then you&#8217;re counting on the audience&#8217;s imagination about how the code will work (and their trust that it does!). But if you hit F5 to run it then&nbsp;this breaks the flow. And I find it hard to keep both the code and the output in my mind at the same time.<\/p>\n<p>I think this is one of those problems that can be solved by technology!&nbsp;So here&#8217;s a small plugin for Visual Studio[<a class=\"\" title=\"http:\/\/blogs.msdn.com\/lucian\/archive\/2008\/10\/16\/liverun-a-vs-plugin-to-see-the-output-of-our-program-immediately.aspx\" href=\"http:\/\/blogs.msdn.com\/lucian\/archive\/2008\/10\/16\/liverun-a-vs-plugin-to-see-the-output-of-our-program-immediately.aspx\">http:\/\/blogs.msdn.com\/lucian\/archive\/2008\/10\/16\/liverun-a-vs-plugin-to-see-the-output-of-our-program-immediately.aspx<\/a>]. It grabs the current text buffer, compiles it in the background, runs it, and displays the output in a topmost window.<\/p>\n<p><img decoding=\"async\" title=\"screenshot of plugin\" height=\"416\" alt=\"screenshot of plugin\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2008\/10\/LiveRun.png\" width=\"550\"><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Say you&#8217;re demonstrating&nbsp;some code&nbsp;at a conference. What&#8217;s the best way to do it? If you show&nbsp;only the code window, then you&#8217;re counting on the audience&#8217;s imagination about how the code will work (and their trust that it does!). But if you hit F5 to run it then&nbsp;this breaks the flow. And I find it hard [&hellip;]<\/p>\n","protected":false},"author":260,"featured_media":8818,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[192,195],"tags":[99],"class_list":["post-3813","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-featured","category-visual-basic","tag-lucian-wischik"],"acf":[],"blog_post_summary":"<p>Say you&#8217;re demonstrating&nbsp;some code&nbsp;at a conference. What&#8217;s the best way to do it? If you show&nbsp;only the code window, then you&#8217;re counting on the audience&#8217;s imagination about how the code will work (and their trust that it does!). But if you hit F5 to run it then&nbsp;this breaks the flow. And I find it hard [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts\/3813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/users\/260"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/comments?post=3813"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts\/3813\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/media\/8818"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/media?parent=3813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/categories?post=3813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/tags?post=3813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}