IDE

TEA Manual
Prev | Chapter 9. Functions | Next

# 9.3. IDE

Among other features, TEA supports some kind of IDE (Intergated Development Environment) functions, such as project handling. TEA also can call make utility and run a binary file.

How it works? TEA IDE project does not contain any files except of a single project file. To create it use a New project function. You will see a dialog window with some entries. There are:

Project name - the name of your project.

Makefile directory - that where TEA can find makefile of your project to call make utility.

Source directory - where you keep source files of the project.

Target executable - filename (without the full path) of the binary file. TEA supposes that this file is in the Source directory. TEA runs target executable when you activate Run menu item.

Project properties menu item - use it to edit properties of the current project (do not forget to save it after that).

When you Make your program using TEA, it shows error and warning messages in the Logmemo. You can double-click on some error message string, and TEA jump to that line at the source file. Colors of error message lines you can set at Preferences > Colors > IDE section.

Refresh tags with ctags - creates the tags file using ctags at the directory of the current file.

In the addition to IDE functions you can use View > Switch header/source menu item. Note: it works only if the source and header files are in the same directory. Only C/C++ files are supported. Also you can use Nav > Browse the symbol's declaration to jump to the declaration of the C/C++ function that is under the cursor. It requires tags file from ctags. If TEA can't find this file, TEA run ctags to create the tags file. Otherwise TEA uses the existing tags file, even if it is outdated. For sure you always can refresh it with IDE > Refresh ctags.

Prev | Home | Next
LaTeX | Up | Calendar