# Command Reference

## Overview

The following is a reference of available WndTabs commands. These commands are distributed (by default) between the main WndTabs menu and the tab context (right-click) menus. Users of WndTabsExt can create and customized menus using these commands.

#### Group Legend

Abbreviation | Meaning
CB* | Clipboard commands
DS* | DevStudio related commands
F* | File management commands
M | Miscellaneous commands
W* | Window management commands
WT | WndTabs specific commands

* The commands in this group can be controlled by the Menu Options dialog.

#### The Commands

Command | Group | Details
About | WT | Displays the program version information.
Addons (menu) | WT | The addons menu gives access to commands exported by WndTabs addon programs that are installed on your systems. Click here for more information about addons and the WndTabs SDK.
Alternate File | F | Tries to open the "alternate file". For example, if a source file is selected, the header file will be opened, and vice-versa. WndTabs can use the Workspace Whiz! add-in for this feature. Press here for more information.
Close | W | Closes the tab's corresponding window. Under certain configurations, this command can also close the tab's entire group. See "Use Group Operations When Shared Tab Section Is Clicked".
Close All | W | Closes all open windows. You are prompted to saved altered files.
Close All Except | W | Closes all windows except for the tab's corresponding window. When you find yourself with dozens of open windows, this is the command to clean up the clutter. Under certain configurations, this command can leave the tab's entire group open (and not just the tab's window). See "Use Group Operations When Shared Tab Section Is Clicked".
Close Group | W | Closes the tab's corresponding window. Also closes every file in this tab's file group. This has the same effect as using the Extension Module to close a tab group (see "Use Group Operations When Shared Tab Section Is Clicked"), but is available to non-registered users. In general, a file group is a group of files with the same extension. The exact definition of a group depends on the options selected in the "Advanced" dialog. (Customization of group definitions is available only to registered users.)
Go To Tab # | WT | Activates the tab with the corresponding number. It is very convenient to bind these commands to keyboard shortcuts so you can activate windows from the keyboard.
Help | WT | Activates WndTabs' online help.
Copy Entire Document | CB | Copies the file's entire contents to the clipboard. This is the same as issuing a "Select All" command followed by a "Copy" command. This command is available only for text files.
Copy File Name Path And Name | CB | Copies the fully qualified file name to the clipboard. For example: c:\project\src\foo.cpp
Copy File Path Only | CB | Copies the file's fully qualified path name to the clipboard. For example: c:\project\src
Customize | WT | Activates the Customize dialog.
Make Read Only / Make Read-Write | F | This option allows you to flip the "read-only" attribute of a specific file. Users of version-control systems should find this option particularly useful.
Minimize All | W | Minimizes all open windows.
Next In Group | W | Cycles to the next tab in a tab group.
Next Tab | W | Cycles to the next visible tab.
Open As Text Document | F | This command is usually used on resource windows. When issued, the command closes resource editor window, and instead opens resource file in a text editor. You can also use this command on files that DevStudio mistakenly opened as binary files. Note: Attempting to issue this command on a real binary file will cause the file's window to close. (You will not loose any information because WndTabs prompts to save modified files before it attempts to close and reopen a window.)
Open Containing Folder | F | Opens an explorer window with the folder that contains the file. Two modes are available for this command: Open and Explore. Click here for further detail.
Previous In Group | W | Cycles to the previous tab in a tab group.
Previous Tab | W | Cycles to the previous visible tab.
Properties | DS | Displays DevStudio's properties popup for the file.
Renumber Tabs | WT | Causes an immediate renumbering of the tabs. Tab numbers are redistributed so that the left-most tab gets the number "1", the second from the left gets the number "2", and so on. This command is useful if you've closed windows in the 1..9 range, and want to reclaim the number of the closed window.
Reorder Tabs | WT | Causes an immediate reordering of the tabs. Tabs are reordered with the most-recently-used tabs (windows) first.
Save | F | Saves the tab's corresponding window. Under certain configurations, this command can also save the tab's entire group. See "Use Group Operations When Shared Tab Section Is Clicked".
Save All | F | Saves all open document windows.
Select | W | Activates the tab's corresponding window.
Set Current Directory | DS | This feature sets a file's directory as DevStudio's current directory. When DevStudio displays file names, it shows their directory relative to its current directory. So if we begin with the following files: and use "Set Current Directory" on AICLoader.cpp, we'll get the following result: These paths will show in the DevStudio's "Window" menu, and on the tabs themselves, as shown above (unless the "Strip Path From Files" option is used).
Shell Context (menu) | F | This is the same menu that you get when you right-click on the file in an Explorer window. The exact content of this menu depends on the configuration of your system. The most popular uses for the menu are accessing the "Send To..." submenu and accessing menu items added by version control programs.
Toggle MSDN Window | M | On systems where the SmartHelp addin (version 2.04 or above) with DevStudio integration is installed, this command will allow you to toggle the integrated MSDN window on and off. The command is disabled on systems without SmartHelp.