Wiki

Options

Case Status
Log In

Wiki

Options

 
Whole Tomato Software - Home
  • RSS Feed

Access to Refactoring and Code Generation

Refactoring and code generation commands are available in the text editor and in the tool windows of Visual Assist.

Access in the Text Editor

In the text editor, you can invoke the commands in numerous ways:

  • Quick Action and Refactoring menu (Shift+Alt+Q)
  • Floating button (enabled in the options dialog for Visual Assist)
  • Context menu (Right-Click or Shift+F10)
  • VAssistX entry in the menubar (Alt+X, R)

The most succinct access to applicable commands is via the Quick Action and Refactoring menu (Shift+Alt+Q). Content of the menu varies with context, and depends on placement of the text caret: in white space, on a symbol, and with or without a selection.

When the caret is in white space, only commands related to files are available.

When the caret is on a symbol, commands related to the symbol are available. Visual Assist includes only permissible commands in the Quick Action and Refactoring menu, and menu items are sorted most-applicable first. For example, when opening the Quick Action and Refactoring menu on an inline method, the top menu item is Move Implementation to Source File.

For mouse users, the same menu can be opened with a floating button, which appears as a small triangle when Code Inspection is disabled and a tomato when the feature is enabled. Click the button to open the menu.

If you use prefer keyboard access to commands, disable the floating button in the options dialog of Visual Assist.

The entire set of refactoring and code generation commands are always via the context menu (Right-Click or Shift+F10) in the text editor.

Finally, the entire set is also available via the menubar (Alt+X, R)

Access in the Tool Windows of Visual Assist

A subset of the refactoring and code generation commands—only the applicable ones—are available in the tool windows of Visual Assist. The following is an example of the commands available via the context menu in the Hovering Class Browser (HCB) of the VA View.

Refactoring and code generation commands are also available via the context menu in the VA Outline.