Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The CodeSmith Template 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 from the Window menu. Alternatively, click and hold the mouse cursor on an existing tab at the top of an open code document 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

...

IMAGE GOES HEREImage Added

Horizontal Tab Groups

...

IMAGE GOES HEREImage Added

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 Template Editor will eliminate the tab group.

Split Windows

To create a split window , select Split Window from the Window menu, or grasp the grab the splitter handle at the top of the vertical or horizontal scroll bar (highlighted in green in the image below) 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:

IMAGE GOES HEREImage Added

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.

...

.