# IDE Window: Unit info

Deutsch (de) English (en) français (fr)

The Unit information dialog as available from the menu [Source|Unit information] shows various information of the current file in the source editor.

## General

• Name: the unit name as written in the source code. Otherwise it is the filename without extension and path.
• Type: The highlighter type. This can be changed via the popup menu of the source editor.
• in Project: If the file is part of the project. This can be changed in the project inspector or the Project -> Add to project/remove from project menu items.
• Size: size of the file in bytes
• Lines: number of source lines.
• Path: Full file name.

## Source paths

This is the unit path plus the compiled source paths. For example:

 /home/user/project
/home/user/package/lib


The project uses the package. The package source files are in /home/user/package and the output files (.ppu) of the package are put in /home/user/package/lib. The unit path of the project will contain the path to the output directory of the package - /home/user/package/lib. So when the compiler is invoked to compile the project it finds the .ppu files of the package, but not the source (.pas) of the package. This way it can not recompile the package, which is good, because the compiler options of the project are probably different than for the package. The IDE should find the source files (.pas). It knows, that /home/user/package/lib is the output directory of the package, so it adds the unit path of the package to the source path of the project. This addition is called the compiled source path.