02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

up menu which has a Browse item to help you locate the command and macros<br />

to provide the <strong>Tornado</strong> context (see Table 8-1).<br />

Table 8-1<br />

Macros for Version Control<br />

Menu Entry Macro Description Example<br />

File name $filename Name of the active file, without path<br />

information.<br />

Comment $comment Prompt for a checkin or checkout<br />

comment; any parameter needed by the<br />

tool can also be entered.<br />

zap.c<br />

See Figure 8-3.<br />

Figure 8-3<br />

Modify Comment Window<br />

Defaults<br />

Selecting an item from the Defaults drop-down list box automatically fills in the<br />

appropriate commands for the selected version control system.<br />

Commands created with the Checkin and Checkout text boxes appear on the pop-up<br />

menu accessed by right-clicking on the source file in the <strong>Tornado</strong> Editor window or<br />

the Project window.<br />

8.4 Customizing the Tools Menu<br />

You can add entries to the Tools menu to allow easy access to additional tools.<br />

Before you add any commands in this part of the menu, <strong>Tornado</strong> displays the<br />

placeholder No Custom Tools as a disabled menu entry. The Customize command in<br />

the Tools menu allows you to add (or remove) entries at the end of the Tools menu.<br />

282

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!