{"id":17892,"date":"2021-10-22T18:02:31","date_gmt":"2021-10-22T18:02:31","guid":{"rendered":"https:\/\/www.jurn.link\/dazposer\/?p=17892"},"modified":"2021-10-22T18:02:31","modified_gmt":"2021-10-22T18:02:31","slug":"collapsing-code-in-visual-studio-code","status":"publish","type":"post","link":"https:\/\/jurn.link\/dazposer\/index.php\/2021\/10\/22\/collapsing-code-in-visual-studio-code\/","title":{"rendered":"Collapsing code in Visual Studio Code"},"content":{"rendered":"<p>The free desktop PC software Microsoft <a href=\"https:\/\/issuu.com\/tosk\/docs\/digital_art_live_issue_56\/74\">Visual Studio Code<\/a> (&#8216;VSC&#8217;) is a sort of super Notepad++. It&#8217;s what you now want in order to copy-paste coloured code into the Renderosity Python forum, since a recent back-end forum update. Notepad++ on its own can&#8217;t do that particular job.<\/p>\n<p>Here&#8217;s a handy tip for editing a non-Python Poser file with VSC&#8230; <\/p>\n<p><strong>Crtl + K<\/strong>.<br \/>\nThen hands off keyboard.<br \/>\nThen <strong>Ctrl + 3<\/strong>. <\/p>\n<p>This collapses the zillion lines of nested code, as you can see here. Much more comprehensible now&#8230;<\/p>\n<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/pz2-edit.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/pz2-edit.jpg\" alt=\"\" width=\"900\" height=\"591\" class=\"alignnone size-full wp-image-17893\" \/><\/a><\/p>\n<p>Then Mouseover the blank bit, to reveal the arrows that expand the hidden code block&#8230;<\/p>\n<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/arrows.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/arrows.jpg\" alt=\"\" width=\"514\" height=\"340\" class=\"alignnone size-full wp-image-17894\" \/><\/a><\/p>\n<p>Not sure if this also works in Microsoft&#8217;s newly launched online version of Visual Studio Code, but it probably does.<\/p>\n<p>Also, in the sidebar of this blog I&#8217;ve added links to a couple of free community-made editors for Poser file types (.CR2, .PZ2, etc).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The free desktop PC software Microsoft Visual Studio Code (&#8216;VSC&#8217;) is a sort of super Notepad++. It&#8217;s what you now want in order to copy-paste coloured code into the Renderosity Python forum, since a recent back-end forum update. Notepad++ on its own can&#8217;t do that particular job. Here&#8217;s a handy tip for editing a non-Python [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,12],"tags":[],"class_list":["post-17892","post","type-post","status-publish","format-standard","hentry","category-companion-software","category-tutorials"],"_links":{"self":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts\/17892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/comments?post=17892"}],"version-history":[{"count":0,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts\/17892\/revisions"}],"wp:attachment":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/media?parent=17892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/categories?post=17892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/tags?post=17892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}