The CodeSmith Explorer Toolbar

The CodeSmith Explorer Toolbar includes seven buttons:

  Create a template folder shortcut. Clicking this button will open a Browse for Folder dialog box that lets you select any existing folder on your computer. Click OK to add a shortcut to the selected folder as a top-level node in CodeSmith Explorer. When you install CodeSmith, CodeSmith Explorer is pre-populated with a single shortcut to the SampleTemplates folder in your installation.

  Refresh. Clicking this button causes CodeSmith to refresh the folder and template display.

  Toggle Top Most Window Mode. By default, CodeSmith Explorer behaves as a normal window that can be overlaid by other windows. If you select this button, CodeSmith Explorer will float on top of all other windows, remaining permanently visible even if another window that would otherwise hide it has the focus. This is especially useful when you want to generate code by dragging and dropping templates from CodeSmith Explorer to any application that supports dropping text (such as the Visual Studio IDE).

  Folder View. With this button selected, CodeSmith displays templates organized into actual folders (corresponding to the folders that you see in Windows Explorer) beneath each template folder shortcut. This is the default view.

  Target Language View. With this button selected, CodeSmith displays templates organized into folders according to their target language (such as C# or T-SQL). The target language is determined from the TargetLanguage attribute of the CodeTemplate directive within the template. Folder view and target language view are mutually exclusive.

  Select Template Editor When you click this button, CodeSmith will display a File Open dialog box to let you pick an executable file to be used to edit templates. This is the editor that will be used when you invoke template editing from CodeSmith Explorer. The default template editor is CodeSmith Studio

  CodeSmith Templates Only Filter Filters the templates in the Template Explorer to show only CodeSmith related Templates.

  About CodeSmith. This button displays the version and licensing information for your copy of CodeSmith.