Using Inline Tools to Enter Code
57
Using Inline Tools to Enter Code
You have a number of tools to help you easily insert new code and to edit existing
code as you type. Each of these tools supports a distinct language element, such as
tags, objects, and functions.
You can set the options for these inline tools in the Settings dialog box (F8).
Tag Insight
Tag Insight lets you insert tag names, attributes, and values as you type, after typing a
start bracket (<) for a tag.
To enable and configure Tag Insight:
1
Open
Options > Settings > Editor > Tag Insight
and select the Enable tag insight
and Enable tag insight tag List options.
2
Set how many seconds Tag Insight waits before displaying a list of options.
3
To add an item to the drop-down list of options that appears after typing < in the
editor: Click Add, type the item, and click OK.
4
To delete an item from the drop-down list: Click the item in the list and click
Delete. It is immediately deleted from the list.
5
Click Apply.
To view the attributes and values for a tag:
1
Position the cursor inside the tag and press F2 to open a Tag Tip.
2
Press the Esc key to close the tip.
To insert a tag with Tag Insight:
1
Type a start bracket (<) to display a drop-down list of tags.
Press the Esc key to close a drop-down list.
2
Scroll down the list, select a tag, and press Enter to insert the tag.
3
Press the spacebar to display a drop-down list of attributes for the tag; then select
an attribute and press Enter.
4
Press the spacebar again to display a drop-down list of known values for the
attribute; then select a value and press Enter.
5
Repeat the last two steps until you have entered every element for the tag.
To edit a tag using Tag Insight, do any of the following:
•
To add an attribute: Position the cursor to the left of a tag end bracket (>) and
press the spacebar to display a drop-down list of attributes for the tag. Select an
attribute and press Enter.
Press the Esc key to close a drop-down list.
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...