{"id":10532,"date":"2018-04-10T09:18:37","date_gmt":"2018-04-10T08:18:37","guid":{"rendered":"https:\/\/myworldofit.net\/?p=10532"},"modified":"2018-04-10T09:18:46","modified_gmt":"2018-04-10T08:18:46","slug":"set-the-default-new-file-for-vs-code-to-powershell-or-something-else","status":"publish","type":"post","link":"https:\/\/myworldofit.net\/?p=10532","title":{"rendered":"Set the default new file for VS Code to PowerShell (or something else!)"},"content":{"rendered":"<p>Having recently changed from using PowerShell ISE to VS Code I&#8217;m still discovering all the super awesome new features of it (be sure to get a copy of the Keyboard shortcuts from this page &#8211;&nbsp;https:\/\/code.visualstudio.com\/docs\/getstarted\/keybindings). To get started I&#8217;ve changed the default new file language to PowerShell (not that you can&#8217;t change it to anything else though!).<\/p>\n<p>To do this follow the short guide in the screenshots adding in the line shown in the gist below.<\/p>\n<div class=\"oembed-gist\"><script src=\"https:\/\/gist.github.com\/jamesfed\/5ef834d83551f6fc6c37243260b2ba44.js\"><\/script><noscript>View the code on <a href=\"https:\/\/gist.github.com\/jamesfed\/5ef834d83551f6fc6c37243260b2ba44\">Gist<\/a>.<\/noscript><\/div>\nngg_shortcode_0_placeholder\n","protected":false},"excerpt":{"rendered":"<p>Having recently changed from using PowerShell ISE to VS Code I&#8217;m still discovering all the super awesome new features of it (be sure to get a copy of the Keyboard shortcuts from this page &#8211;&nbsp;https:\/\/code.visualstudio.com\/docs\/getstarted\/keybindings). To get started I&#8217;ve changed the default new file language to PowerShell (not that you can&#8217;t change it to anything else though!). To do this&#8230; <a class=\"read-more\" href=\"https:\/\/myworldofit.net\/?p=10532\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[20],"tags":[248,434,435],"series":[],"class_list":["post-10532","post","type-post","status-publish","format-standard","hentry","category-software","tag-powershell","tag-visual-studio-code","tag-vs-code"],"_links":{"self":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/10532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10532"}],"version-history":[{"count":3,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/10532\/revisions"}],"predecessor-version":[{"id":10541,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/10532\/revisions\/10541"}],"wp:attachment":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10532"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=10532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}