开发者

How to remove errors (red underlines) in D2007

I have a lot of errors in structure panel. The application compiles and run fine with Delphi 2007. But the code have much code that have red underlines. If I press Ctrl + leftclick on it 开发者_C百科it finds the original declaration. But it is still annoying to have all those errors.


These are well-known IDE bugs. Have you tried the IDE Fix Pack?


I have IDE Fix Pack installed, and still get incorrect error insight red lines regularly.

Some things which help (temporarily)

  • Close the project and delete *.local and *.identcache, then re-open the project.

  • When Loading a project, wait for the code-folding lines in the gutter to appear (before Delphi 2009, this indicates that the background compiler is finished)


I am assuming you just want all the red underlines to go away:

Tools | Options | Editor Options | Code Insight

Then uncheck Error insight

That is for Delphi 2010, but I think it is very similar in Delphi 2007, but I don't currently have it installed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜