Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CodeBlocks / CodeBlocks_manual_en.pdf
Скачиваний:
28
Добавлен:
29.03.2015
Размер:
1.2 Mб
Скачать

CodeBlocks V1.1

2.4 ToDo List

 

 

If the search string cannot be found within the active le, this fact is highlighted by the background of the search mask being displayed in red.

ESC Leave the Incremental Search modus.

ALT-DELETE Clear the input of the incremental search eld.

The icons in the Incremental Search toolbar have the following meanings:

Deleting the text within the search mask of the Incremental Search toolbar.

, Navigating between the occurrences of a search string.

Clicking this button results in all the occurrences of the search string within the editor being highlighted in colour, instead of only the initial occurrence.

Activating this option restricts the search to the text passage marked within the editor.

This option means a case sensitive search is performed.

Regular expression can be used in the input eld of incremental search.

Note:

The standard settings of this toolbar can be con gured in 'Settings' !'Editor' !'Incremental Search' .

2.4 ToDo List

In complex software projects, where di erent users are involved, there is often the requirement of di erent tasks to be performed by di erent users. For this purpose, CodeBlocks

Codeblocks

28

CodeBlocks V1.1

2.4 ToDo List

 

 

o ers a Todo List. This list can be opened via 'View' !'To-Do list' , and contains the tasks to be performed, together with their priorities, types and the responsible users. The list can be ltered for tasks, users and/or source les. A sorting by columns can be achieved by clicking the caption of the corresponding column.

Figure 2.4: Displaying the ToDo List

Note:

The To-Do list can be docked in the message console. Select the option 'Include the To-Do list in the message pane' via the menu 'Settings' !'Environment' .

If the sources are opened in CodeBlocks, a Todo can be added to the list via the context menu command 'Add To-Do item'. A comment will be added in the selected line of the source code.

// TODO (user#1#): add new dialog for next release

When adding a To-Do, a dialogue box will appear where the following settings can be made (see Figure 2.5 on page 30).

User User name <user> in the operating system. Tasks for other users can also be created here. In doing so, the corresponding user name has to be created by Add new. The assignment of a Todo is then made via the selection of entries listed for the User.

Note:

Note that the Users have nothing to do with the Personalities used in CodeBlocks.

Type By default, type is set to Todo.

Priority The importance of tasks can be expressed by priorities (1 - 9) in CodeBlocks.

Position This setting speci es whether the comment is to be included before, after or at the exact position of the cursor.

Comment Style A selection of formats for comments (e.g. doxygen).

Codeblocks

29