Cant use unit windows
I can't open a window with I-PASCAL because the unit windows says undeclared identifier even thought rtl unit(which contains windows unit) is added. I Tried adding windows unit directly. I Tried Invalitate caches / restart...
Comments (7)
-
repo owner -
Define correctly specified... And yes I can open it and it shows all the type declarations and so on
-
repo owner Seems it gets decompiled but can't be parsed. Did you try 64-bit compiler RTL? The same behaviour?
-
Yeah the behaviour is still the same
-
repo owner I've reproduced it so it will be fixed
-
Okay thanks :)
-
repo owner - changed status to resolved
Found the problem. The windows.ppu size exceed intellisense limit and doesn't get indexed. Unfortunately it can't be solved programmatically but can be fixed by configuration: Help->Edit Custom Properties add idea.max.intellisense.filesize property to a bigger value in kilobytes (5000 is enough) and restart the IDE with File->Invalidate Caches/Restart. I'll add a warning.
- Log in to comment
Is decompiler command option correctly specified in SDK settings? Does windows.ppu open in editor if you double click his file under external libraries/rtl? If not please attach log file after the attempt. The log file can be found by selecting Help->Show log...