How to remove errors (red underscores) in D2007

I have many errors in the structure pane. The application compiles and works fine with Delphi 2007. But the code has a lot of code that has red underscores. If I press Ctrl + leftclick, it will find the original ad. But still it is annoying to have all these errors.

+6
delphi delphi-2007
source share
3 answers

I have the IDE Fix Pack installed and still displaying red error bars incorrectly.

Some things that help (temporarily)

  • Close the project and delete * .local and * .identcache, then reopen the project.

  • When loading the project, wait for the lines of code folding in the ditch to appear (before Delphi 2009 this means that the background compiler is complete)

+3
source share

These are known IDE errors. Have you tried the IDE Fix Pack ?

+4
source share

I assume you just want all the red underscores to disappear:

Tools | Options | Editor Options | Code insight

Then clear the Penetration of errors check box.

This is for Delphi 2010, but I think it is very similar in Delphi 2007, but at the moment I have not installed it.

+2
source share

All Articles