Issue #66 new
Daniel Roziecki
created an issue

I use external library for PostgreSQL .

They use a lot of Includes ($I), and plugin has some problems with it.

For example there is unit MemDataSet:

{$I Dac.inc}
unit MemDataSet;
{$IFNDEF FPC}
  Error
{$ENDIF}
{$I MemDS.pas}

If I use it like this, then every time when I try use for example db.Query.First(); Then First() is underlined with info about unrecognized identifier.

But if I copy code from MemDS.pas and paste it to unit MemDataSet (without $I ofc), then everything is fine.

Comments (3)

  1. Geo B repo owner

    BTW, in case of external library you can add it to classpath as .dcu or .ppu. In that case declarations will be imported and used correctly.

  2. Log in to comment