Johan
Johan

Reputation: 76597

Is there a workaround for the error-insight bug in the IDE?

enter image description here

XE2 will mark an error in the editor, usually about missing member functions (as shown in the picture). However it wil compile OK and the code will run just fine.
If you ask for a list using CTRL + SPACE it will give the correct list.

Is there a workaround/solution for the above bug in the Delphi XE2 IDE?
In such a way that I don't get incorrect markings for errors in the editor?

Note that this question: Delphi XE2 background IDE compiler unable to find source path signifies why the error is there, but does not list a solution.

Upvotes: 2

Views: 1090

Answers (1)

DelphiCoder
DelphiCoder

Reputation: 2007

Solution, thats works for me in Delphi 2007, XE2 and 10.2.x Tokyo:

  1. Compile/Build your project
  2. Close your project (Files -> Close all)
  3. Reopen your project

The wrong error marks should have gone away now, at least for a while... :-/

Upvotes: 2

Related Questions