{"id":883,"date":"2015-06-05T17:53:51","date_gmt":"2015-06-05T17:53:51","guid":{"rendered":"http:\/\/blog.wholetomato.com\/?p=883"},"modified":"2019-05-03T17:28:17","modified_gmt":"2019-05-03T21:28:17","slug":"quick-refactoring-menu","status":"publish","type":"post","link":"https:\/\/stage.wholetomato.com\/blog\/quick-refactoring-menu\/","title":{"rendered":"Quick Refactoring Menu of Visual Assist offers more than refactoring"},"content":{"rendered":"<p>If you use Visual Assist, you are probably familiar with its Quick Refactoring Menu\u00e2\u20ac\u201davailable via a hovering icon or the default shortcut (Shift+Alt+Q). But, you might\u00c2\u00a0not appreciate how frequently\u00c2\u00a0the\u00c2\u00a0menu is available. Quick <strong>Action<\/strong> Menu is\u00c2\u00a0a\u00c2\u00a0more apt name.<\/p>\n<p>Availability aside,\u00c2\u00a0the Quick Refactoring Menu is an efficient method of tapping into the features of Visual Assist because the menu\u00c2\u00a0contains\u00c2\u00a0only pertinent actions; it&#8217;s always concise. (If you examine\u00c2\u00a0the &#8220;Refactor (VA)&#8221; submenu of the editor&#8217;s context menu, you will find all possible actions. The entries\u00c2\u00a0enabled in any one scenario are the ones in the Quick Refactoring Menu.)<\/p>\n<p>Available actions in the Quick Refactoring Menu\u00c2\u00a0depend on what Visual Assist thinks you might do and where you are: in whitespace, in a symbol, or with\u00c2\u00a0a selection.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2015\/06\/blogquickrefactoringmenu.png?ssl=1\"><img decoding=\"async\" data-attachment-id=\"900\" data-permalink=\"https:\/\/stage.wholetomato.com\/blog\/quick-refactoring-menu\/blogquickrefactoringmenu\/\" data-orig-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2015\/06\/blogquickrefactoringmenu.png?fit=334%2C168&amp;ssl=1\" data-orig-size=\"334,168\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"blogQuickRefactoringMenu\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2015\/06\/blogquickrefactoringmenu.png?fit=300%2C151&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2015\/06\/blogquickrefactoringmenu.png?fit=334%2C168&amp;ssl=1\" class=\"alignnone size-full wp-image-900\" src=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2015\/06\/blogquickrefactoringmenu.png?resize=334%2C168&#038;ssl=1\" alt=\"blogQuickRefactoringMenu\" width=\"334\" height=\"168\" srcset=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2015\/06\/blogquickrefactoringmenu.png?w=334&amp;ssl=1 334w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2015\/06\/blogquickrefactoringmenu.png?resize=300%2C151&amp;ssl=1 300w\" sizes=\"(max-width: 334px) 100vw, 334px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Browse the following list of actions that can appear\u00c2\u00a0in the Quick Refactoring Menu. Look for unfamiliar actions and envision\u00c2\u00a0scenarios in which they make sense. Try a few and add them\u00c2\u00a0to your arsenal. If you can&#8217;t fathom when or where\u00c2\u00a0an action might be available, click through and find an answer\u00c2\u00a0in documentation.<\/p>\n<table style=\"border:1px solid #dddddd;border-collapse:collapse;\">\n<tbody>\n<tr>\n<th style=\"border:1px solid #dddddd;padding:8px;\">Action<\/th>\n<th style=\"border:1px solid #dddddd;padding:8px;\">Availability<\/th>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W177\">Add Using or\u00c2\u00a0#include<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from a symbol declared externally<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W159\">Add Member<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from a class name<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W160\">Add Similar Member<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from a member of a class<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W157\">Change Signature<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from an existing signature<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W162\">Create Declaration<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from an implementation<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W288\">Create File<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from whitespace<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W164\">Create From Usage<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from an unknown symbol<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W163\">Create Implementation<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from a declaration<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W458\">Create Method Implementations<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from a class declaration<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W161\">Document Method<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from the name of a method<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W156\">Encapsulate Field<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from the declaration of a member<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W155\">Extract Method<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">with a selection<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W189\">Find Reference<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from a symbol<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W162\">Implement Interface \/ Virtual Methods<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from a class name<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W514\">Introduce Variable<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">with a selection or from whitespace<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W158\">Move Implementation to Source File<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from a method defined in a header<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W286\">Move Selection to New File<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">with a selection<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W154\">Rename<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from a symbol<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #dddddd;padding:8px;\"><a href=\"http:\/\/docs.wholetomato.com\/default.asp?W287\">Rename File(s)<\/a><\/td>\n<td style=\"border:1px solid #dddddd;padding:8px;\">from whitespace<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>If you use Visual Assist, you are probably familiar with its Quick Refactoring Menu\u00e2\u20ac\u201davailable via a hovering icon or the default shortcut (Shift+Alt+Q). But, you might\u00c2\u00a0not appreciate how frequently\u00c2\u00a0the\u00c2\u00a0menu is available. Quick Action Menu is\u00c2\u00a0a\u00c2\u00a0more&#8230;<\/p>\n","protected":false},"author":28485711,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[672],"tags":[],"class_list":["post-883","post","type-post","status-publish","format-standard","hentry","category-tips-and-tricks"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfhqii-ef","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/users\/28485711"}],"replies":[{"embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/comments?post=883"}],"version-history":[{"count":17,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/883\/revisions"}],"predecessor-version":[{"id":901,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/883\/revisions\/901"}],"wp:attachment":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/media?parent=883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/categories?post=883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/tags?post=883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}