beautypg.com

Auto indentation – Zilog ZUSBOPTS User Manual

Page 145

background image

UM017105-0511

Using the Editor

Zilog Developer Studio II – ZNEO™

User Manual

117

When call tips are disabled, you can still bring up the

Call Tips

window by pressing

Ctrl+Shift+Enter. Call tips are not supported for assembly files.

Auto Indentation

Indentation of statements is often used to clarify the program structure both in C and in
assembly code; it is one of the indispensable coding standards. While the Tab key is often
used to indent the statements belonging to a particular code block, manual indentation is
cumbersome and time-consuming.

The ZDS II editor provides automatic indentation that indent lines in a smart way based on
the syntax and formats while you are typing.

Figure 91 shows an example of autoindentation in a C file; note that the closing brace is
added automatically upon entering the opening brace because

Auto Insertion of Braces

and Quotes

is enabled.

Figure 90. Advance Editor Options—Show Call Tips Window

Note:

This manual is related to the following products: