menu inside the list of parameters.
Template Options Dialog
Use this dialog to edit options that are common to all templates. You can launch this dialog from the Tem-
plate Manager dialog by clicking the
Options
button.
Global Substitution Parameters
The
Global substitution parameters
area on the Template Options dialog lists the substitution paramet-
ers that are common to all templates. A common substitution parameter, for example, could be "author"
where the parameter value is your name. You could then create code templates that automatically fill in a
header comment with the author's (your) name.
Add, Edit, and Delete operations are accessible from the buttons on the right side or from the context
menu inside the list of parameters.
Add File Dialog
Used to add a file to a template. To launch this dialog, right-click on a file in the
Files
tab of the Template
Manager dialog, and select
Add File
, or use the
Add File
button. The dialog contains the following:
•
Source file name
- When a file is created from a template, as when adding an item template from the
Add New Item dialog, it is created from the source file with this file name.
•
Copy source file to template directory
- Check this option to place a copy of the file in the current
template's directory and change the source file name to point to the new file in the template. The file is
not copied until you click
OK
.
•
Target file name
- When a file is created from a template, as when adding an item template from the
Add New Item dialog, the file name of the file that is created on disk is formed from the target file name
in the location you specify. Use the menu button to the right of this field to insert common pre-defined
substitution parameters. For example,
$fileinputname$
is the item name provided on the Add New
Item dialog when adding an item template to your project.
•
Replace parameters in target file content
- Check this option if you want substitution parameters em-
bedded in the content of the target file to be replaced when the file is created from the template, as
when adding an item template to your project from the Add New Item dialog.
•
Preview
- Previews how the file would be copied when creating the file from a template as if the source
file name and target file name were fully resolved.
Add Parameter Dialog
Used to add a custom substitution parameter to a template. This dialog is launched when performing an
Add operation from the
Custom Parameters
tab of the
Template Manager Dialog
. When files are created
Template Options Dialog
111
Summary of Contents for Corev3.3 for Eclipse
Page 1: ...Think Slick Corev3 3 for Eclipse...
Page 2: ......
Page 3: ...SlickEdit Core v3 3 for Eclipse...
Page 5: ......
Page 6: ......
Page 14: ...xii...
Page 20: ...xviii...
Page 22: ...xx...
Page 23: ...Chapter 1 Introduction 1...
Page 41: ...Chapter 3 User Interface 19...
Page 61: ...Chapter 4 User Preferences 39...
Page 80: ...BODY BODY HTML HTMLEOF Restoring Settings on Startup 58...
Page 82: ...60...
Page 83: ...Chapter 5 Context Tagging 61...
Page 97: ...Chapter 6 Editing Features 75...
Page 124: ...Code Templates 102...
Page 238: ...Figure 6 49 Test Parsing Configuration Example 1 C Refactoring 216...
Page 241: ...Figure 6 51 Test Parsing Configuration Example 3 Reviewing Refactoring Changes 219...
Page 250: ...228...
Page 251: ...Chapter 7 Language Specific Editing 229...
Page 328: ...306...
Page 329: ...Chapter 8 Tools and Utilities 307...
Page 350: ...328...
Page 351: ...Chapter 9 Macros and Macro Programming 329...
Page 360: ...338...
Page 361: ...Chapter 10 SlickEdit Core Dialogs 339...
Page 375: ...Find and Replace View 353...
Page 491: ...Chapter 11 Appendix 469...
Page 567: ......
Page 568: ......