beautypg.com

Auto indentation – Zilog Z8F0130 User Manual

Page 181

background image

UM013037-1212

Auto Indentation

Zilog Developer Studio II – Z8 Encore!

User Manual

157

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 102 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 101. Advance Editor Options, Show Call Tips Window

Note: