FredS 138 Posted February 26, 2021 An installer overwrote changes I made to a component. During app compile the Error was clearly marked (nice), but after Reverting to my Git version the Error was still there. How does one solve this? Do you have to reload the project again? Share this post Link to post
Guest Posted February 26, 2021 (edited) if the changes is necessary on this editions, the natural action, yeah, you need update your Git version. Else, your IDE will go alert you all time, as now! Edited February 26, 2021 by Guest Share this post Link to post
FredS 138 Posted February 26, 2021 36 minutes ago, emailx45 said: you need update your Git version Nothing to do with Git. CodeInsight correctly marked an error I updated the file at fault, the IDE asked if it should reload that file - OK Error still marked Did a Build all Error still marked How to refresh CodeInsight? Share this post Link to post
Guest Posted February 26, 2021 (edited) 47 minutes ago, FredS said: How to refresh CodeInsight? really, this "ghost-mark" the Embarcadero needs work better! try see on "Tools-Options" about some option to use "old style" of "CodeSight" work! here more info about Sydney: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Code_Insight_Reference it should have been fixed already! However, they fix an error, however, it causes a new error! It's the dog chasing its tail ... it will never be able to reach it. Quote Go to Tools > Options > User Interface > Editor > Language and click on Error Insight to configure its properties. Edited February 26, 2021 by Guest Share this post Link to post
FredS 138 Posted February 26, 2021 12 minutes ago, emailx45 said: it will never be able to reach it. Come on, don't be so negative.. it only took from D2006 till now to get here with ErrorInsight.. 2 Share this post Link to post
Darian Miller 361 Posted February 26, 2021 1 hour ago, FredS said: CodeInsight correctly marked an error I updated the file at fault, the IDE asked if it should reload that file - OK Error still marked Did a Build all Error still marked How to refresh CodeInsight? That is supposed to be automatic. There's a new progress bar showing CodeInsight activity - is that doing anything? Share this post Link to post
FredS 138 Posted February 26, 2021 Just now, Darian Miller said: is that doing anything? Sure, that's how the Error shows up because it parses all on opening and coding.. Share this post Link to post
Lars Fosdal 1792 Posted February 26, 2021 Does a Clean and Build help? If not, you should create a QP issue. Share this post Link to post
Uwe Raabe 2057 Posted February 26, 2021 After reloading the file have you tried making a simple change in the editor? That should trigger a refresh as any other code change does. Perhaps it is simply the reload that misses the triggering. Share this post Link to post
FredS 138 Posted February 26, 2021 5 hours ago, Lars Fosdal said: Does a Clean and Build help Nope, all my Builds are clean. I figured out there was an issue due to that a couple of years ago and built a 'clean.cmd' that is triggered via 'Build Tools' 2 hours ago, Uwe Raabe said: simple change in the editor I have not, because that is exactly what I was trying not to do. Sure seems that making a change then undoing it is the only way to force a Refresh at this point.. Share this post Link to post
Uwe Raabe 2057 Posted February 26, 2021 I suggest filing a bug report emphasizing that a simple reload fails to refresh the LSP. Share this post Link to post
FredS 138 Posted February 26, 2021 (edited) FYI: Switching configuration back and forth refreshes CodeInsight. Edited February 26, 2021 by FredS Share this post Link to post