[Lazarus] Lazarus code editor, how to show invisible tabs?

Bo Berglund bo.berglund at gmail.com
Fri Jul 31 16:08:42 CEST 2020


On Thu, 30 Jul 2020 23:00:44 +0200, Mattias Gaertner via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>Well, some people put multiple projects into one folder, which
>quickly can get messy. With the project units you and the IDE know
>which files actually belong to the project.
>
>There are several places in the IDE, where it makes a difference.
>For example checking for duplicates and when moving an unit to another
>folder the IDE can adjust the project's unit search path.

I found that when I added all of the files in my folder to the project
then the quick compile failed in a unit that had been ifdef:ed out so
it is not used in any of the other units.
The reason for the ifdef:s is that its functionality is an optional
add-on and heavily Windows-centric. But it is part of the project I am
porting from Delphi/Windows to FPC/Linux. It is to be handled when all
else works.

So Lazarus quick compiled it anyway.
When I removed it from the project again the quick compile succeeded.

So it seems like a unit that is part of the project is always checked
during compile even if it is not actually part of the project due to
ifdef:s...


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list