Книга: Embedded Linux development using Eclipse

4.3.3 Automatic Closing

4.3.3 Automatic Closing

As you type, note that whenever you type an opening quote (“), parenthesis [(], square ([) or angle (<) bracket, or brace ({), the Editor automatically adds the corresponding closing character and positions the cursor between the two. Type whatever is required in the enclosure and hit Enter. This positions the cursor just beyond the closing character. However, if you move the cursor out of the enclosed space, to copy and paste some text for example, the Enter key reverts to its normal behavior of starting a new line.

In the case of an opening brace, the closing brace is positioned according to the currently selected coding style, and the cursor is properly indented.

Finally, notice that as you type, appropriate entries appear in the Outline view identifying header files, functions, and if we had any, global variables.

Оглавление книги

Оглавление статьи/книги

Генерация: 2.128. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз