Jump to content
FredS

How to Refresh 10.4.2 CodeInsight

Recommended Posts

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

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 by Guest

Share this post


Link to post
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
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 by Guest

Share this post


Link to post
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..

 

  • Haha 2

Share this post


Link to post
Guest

ok! im get out from here! dont worry!

Share this post


Link to post
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
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

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
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

I suggest filing a bug report emphasizing that a simple reload fails to refresh the LSP.

Share this post


Link to post

FYI: Switching configuration back and forth refreshes CodeInsight.

 

Edited by FredS

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×