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

CodeBlocks V1.1

2.8 Browse Tracker

 

 

$file

Name of the le.

$relfile

Name of the le without path info.

$dir

Name of the selected directory.

$reldir

Name of directory without path info.

$path

Absolute path.

$relpath

Relative path of le or directory.

$mpaths

List of current selected les or directories.

$inputstr{<msg>} String that is entered in a message window.

$parentdir Parent directory (../).

Note:

The entries of shell extension are also available as context menu in the CodeBlocks editor.

2.8 Browse Tracker

Browse Tracker is a plug-in that helps navigating between recently opened les in CodeBlocks. The list of recent les is saved in a history. With the menu 'View' !'Browse Tracker' !'Clear All' the history is cleared.

With the window 'Browsed Tabs' you can navigate between the items of the recently opened les using the menu entry 'View' !'Browse Tracker' !'Backward Ed/Forward Ed' or the shortcut Alt-Left/Alt-Right. The Browse Tracker menu is also accessible as context menu. The markers are saved in the layout le <projectName>.bmarks

A common procedure when developing software is to struggle with a set of functions which are implemented in di erent les. The BrowseTracks plug-in will help you solve this problem by showing you the order in which the les were selected. You can then comfortably navigate the function calls.

The plug-in allows even browse markers within each le in the CodeBlocks editor. The cursor position is memorized for every le. You can set this markers using the menu item 'View' !' Browse Tracker' !' Set BrowseMarks' or with selecting a line with the left mouse button. A marker with : : : is shown in the left margin. With the menu 'View' !'Browse Tracker' !'Prev Mark/Next Mark' or the shortcut Alt-up/Alt-down you can navigate through the markers within a le. If you want to navigate in a le between markers sorted by line numbers then just select the menu 'View' !'Browse Tracker' !'Sort BrowseMark' .

With the 'Clear BrowseMark' the marker in a selected line is removed. If a marker is set for a line, holding left-mouse button down for 1/4 second while pressing the Ctrl key will delete the marker for this line. Via the menu 'Clear All BrowseMarks' or with a Ctrl-left click on any unmarked line will reset the markers within a le.

Codeblocks

38