Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The CodeSmith Editor provides you with two ways to edit in multiple locations at the same time. Tab groups allow you to open two or more files for editing. Split windows allow you to have two editing panes open in to the same file at the same time.

Tab Groups

To create a tab group, select New Horizontal Tab Group or New Vertical Tab Group on the Window menu. Alternatively, click and hold the mouse cursor on an existing tab at the top of an open code window, and drag the tab down into the code-editing area. When you drop the tab, the shortcut menu will offer you the choice of creating a new vertical tab group or a new horizontal tab group. In any case, the active tab when you perform the operation will become the first tab in the new tab group.

Vertical Tab Groups:

Horizontal Tab Groups:

You can move a tab from one tab group to another tab group by dragging and dropping the tab. You can also create additional tab groups by repeating the process that creating the initial tab group. However, all tab groups must be of the same type; you cannot mix horizontal and vertical tab groups. If you close or remove the last tab in a tab group, CodeSmith Studio will eliminate the tab group.

Split Windows

To create a split window, select Split Window from the Window menu, or grasp the splitter handle at the top of the vertical scroll bar with the mouse and drag it downwards. The result will be a single window with two panes, both of which open on the same file:

You can scroll and edit in the two panes of a split window independently. Because the two panes are both views into the same underlying file, any changes in one pane are immediately reflected in the other pane.

This feature is only available in the Professional Edition of CodeSmith.

  • No labels