Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi Code Completion Fails

We use Embarcadero Delphi 2010 and recently a change was made to one of the units of a medium-sized project, causing code completion to stop working completely -- but only inside this project, it still works fine in other projects. Puzzled, I searched the interwebs for clues on what exactly could make this happen, but my search wasn't too successful.

From what I gathered, it looks like IDE has a few parsers/compilers that work completely separated from one another, which makes it entirely possible that the faster code-completion compiler could fail where the main compiler would not. Which is exactly what's happening to my project.

My question: Is there a way to find out WHERE exactly the Code Insight/Code Completion compiler is failing? Does the IDE keep a log of on-the-fly parsing/compilations anywhere?

like image 806
MiGz Avatar asked Mar 22 '26 01:03

MiGz


1 Answers

Is there a way to find out WHERE exactly the Code Insight/Code Completion compiler is failing?

Not readily, not without debugging the IDE.

Does the IDE keep a log of on-the-fly parsing/compilations anywhere?

No.


I suggest that you install Andy Hausladen's IDEFixPack. If that does not help then use your revision control to isolate the code change that causes the problem. And find a different way to write that code that happens not to bork code completion. Trial and error is likely to be the most productive method here, much as I hate to say that.

like image 195
David Heffernan Avatar answered Mar 24 '26 01:03

David Heffernan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!