{"id":4068,"date":"2012-05-03T08:09:00","date_gmt":"2012-05-03T16:09:00","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/?p=4068"},"modified":"2012-05-03T08:10:04","modified_gmt":"2012-05-03T16:10:04","slug":"powershell-studio-2012-whats-new-part-5","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2012\/05\/03\/powershell-studio-2012-whats-new-part-5\/","title":{"rendered":"PowerShell Studio 2012: What&rsquo;s New? (Part 5)"},"content":{"rendered":"<p>Last time we looked at the new script editor features. Now we will take a look at the new Function Explorer as well as other additions.<\/p>\n<p><strong><span style=\"font-size: small\"><span style=\"font-size: small\"><font size=\"3\">Function Explorer<\/font><\/span><\/span><\/strong><\/p>\n<p>The new Function Explorer displays a list of all the functions and events within the current script file:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Function-Explorer.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Function Explorer\" border=\"0\" alt=\"Function Explorer\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Function-Explorer_thumb.png\" width=\"179\" height=\"244\"><\/a><\/p>\n<p>If you are working within a Project, the available functions declared in other files will also be displayed.<\/p>\n<p><strong>Navigating with the Function Explorer:<\/strong><\/p>\n<p>Just by a simple double click on the function or event, it will take you directly to the declaration of the function. This becomes invaluable when dealing with scripts with a large number of functions.<\/p>\n<p><strong>Function Explorer Context Menu:<\/strong><\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Function-Explorer-Context-Menu.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Function Explorer Context Menu\" border=\"0\" alt=\"Function Explorer Context Menu\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Function-Explorer-Context-Menu_thumb.png\" width=\"244\" height=\"173\"><\/a><\/p>\n<p>The context menu allows to do the following:<\/p>\n<blockquote>\n<p><em>Go to Declaration<\/em><br \/>Goes to the function\u2019s declaration (same as double clicking on the function name). If the function is in another project file, then it will navigate to that file.<\/p>\n<p><em>Insert<\/em><br \/>Inserts a call to the function.<\/p>\n<\/blockquote>\n<blockquote>\n<p><em>Copy<\/em><br \/>Copies the whole function definition to the clipboard.<\/p>\n<p><em>Rename<\/em><br \/>Renames the function including all references to the function. Within Projects, it will also update references made to the function by other project files. If you rename an event, all the controls that reference the event will also be updated. As you can see this can be a big time saver when dealing with larger scripts.<\/p>\n<p>Before Function Renaming:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Before-Function-Rename.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Before Function Rename\" border=\"0\" alt=\"Before Function Rename\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Before-Function-Rename_thumb.png\" width=\"244\" height=\"191\"><\/a><\/p>\n<p>After Function Renaming:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/After-Function-Rename.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"After Function Rename\" border=\"0\" alt=\"After Function Rename\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/After-Function-Rename_thumb.png\" width=\"244\" height=\"188\"><\/a><\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: small\"><span style=\"font-size: small\"><font size=\"3\">Other Additions and Changes:<\/font><\/span><\/span><\/strong><\/p>\n<p>PowerShell Studio offers many other performance improvement and other numerous minor additions, changes, and keyboard shortcuts that are not listed here. The following is some more prominent miscellaneous additions you will find:<\/p>\n<p><strong>Enhanced Console Input Line<\/strong><\/p>\n<p>The console now has an enhanced input line that offers the same PrimalSense support as the script editor. You have the option to enable or disable this feature.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Console-Input-Line.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Console Input Line\" border=\"0\" alt=\"Console Input Line\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Console-Input-Line_thumb.png\" width=\"244\" height=\"102\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Project File Renaming:<\/strong><\/p>\n<p>When renaming project files, reference functions will be updated accordingly through out the project files.<\/p>\n<p>Before Project File Renaming:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Before-Project-File-Rename1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Before Project File Rename\" border=\"0\" alt=\"Before Project File Rename\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Before-Project-File-Rename_thumb1.png\" width=\"244\" height=\"116\"><\/a><\/p>\n<p>After Project File Renaming:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/After-Project-File-Rename.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"After Project File Rename\" border=\"0\" alt=\"After Project File Rename\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/After-Project-File-Rename_thumb.png\" width=\"244\" height=\"127\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Explicit Support For PowerShell Remoting:<\/strong><\/p>\n<p>PowerShell Studio now has explicit support for PowerShell Remoting. Use the \u201cRun Remotely\u201d option under the Run Menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Run Remotely Option\" border=\"0\" alt=\"Run Remotely Option\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Run-Remotely-Option.png\" width=\"303\" height=\"239\"><\/p>\n<p>Next you will be presented with a dialog to enter the remote credentials:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Remote-Credentials.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Remote Credentials\" border=\"0\" alt=\"Remote Credentials\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/04\/Remote-Credentials_thumb.png\" width=\"244\" height=\"107\"><\/a><\/p>\n<p>And finally the script will run on the remote computer. <\/p>\n<p>Note: This feature requires that remoting be enabled on the target system.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Remote Debugging:<\/strong><\/p>\n<p>PowerShell Studio 2012 also supports Remote Debugging. This feature will be discussed in a separate article.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><\/strong><\/p>\n<p><strong>Tracepoints:<\/strong><\/p>\n<p>Just like PrimalScript 2012, PowerShell Studio added support for trace points. See the <a href=\"http:\/\/www.sapien.com\/blog\/?s=PrimalScript+2012%3A+What%27s+New%3F\">PrimalScript 2012: What\u2019s New?<\/a> articles for more details.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/05\/Tracepoints.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"Tracepoints\" border=\"0\" alt=\"Tracepoints\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/05\/Tracepoints_thumb.png\" width=\"244\" height=\"153\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>All in all, you will find that SAPIEN PowerShell Studio 2012 is a major improvement over its predecessor.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last time we looked at the new script editor features. Now we will take a look at the new Function Explorer as well as other additions. Function Explorer The new Function Explorer displays a list of all the functions and events within the current script file: If you are working within a Project, the available [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[705,509,21,25],"tags":[694,28,1016,314,128],"class_list":["post-4068","post","type-post","status-publish","format-standard","hentry","category-powershell-studio-2012","category-primalforms-software-news","category-software-news","category-windows-powershell","tag-694","tag-powershell","tag-powershell-studio","tag-primalforms","tag-whats-new-whats-changed"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/4068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=4068"}],"version-history":[{"count":17,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/4068\/revisions"}],"predecessor-version":[{"id":4266,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/4068\/revisions\/4266"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=4068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=4068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=4068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}