How to remove errors (red underlines) in D2007

故事扮演 提交于 2019-12-06 00:13:16

问题


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 it finds the original declaration. But it is still annoying to have all those errors.


回答1:


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)




回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/1665691/how-to-remove-errors-red-underlines-in-d2007

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!