If your question is about SonarQube for IDE in the IntelliJ Platform, VS Code, Visual Studio, or Eclipse, please post it in that sub-category.
Otherwise, please provide:
Operating system:Windows
IDE name and version : Eclipse 4.3
Programming language you’re coding in: COBOL
Is connected mode used:
SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): SonarQube Server, Data Center Edition, Version 9.9.4 (build 87374)
And a thorough description of the problem / question:
I updated a resolution for an issue as ‘Won’t fix’ on Sonar Qube server . Then on same file I did some code changes on IDE and same issue was reported on IDE , it did not update the fix from server to IDE.
Then I deleted my repository from IDE and cloned again and then I could see the fix updated on IDE analysis too .
Can you please help me is there a refresh option through which SonarLint should pick details at runtime from Sonar Qube server or everytime we have to set up the repo again to get updates from server ?
You mention Eclipse 4.3 (very old, if there is no typo), which version for SonarQube for IDE do you use inside Eclipse?
If this is not an old version, then a refresh (synchronization of server issues towards the IDE) should happen every hour, if I’m not mistaken. There is no action that can be triggered by the user the re-sync the issues and when an analysis is triggered (e.g., by re-opening / saving the file) there is no automatic check with the issues on the server.
Thanks a lot for the report! Whenever an issue status changes, server send an event to the connected IDE instance to notify it about the changes.
Otherwise, an explicit synchronisation happens at IDE startup & every hour like @EclipseWizard mentioned.
Based on what you experienced, it sounds like the events about issue status change did not reach the IDE. If you are able to reproduce the issue again, verbose logs would be greatly appreciated!