I understand…
When connected to SonarQube Cloud, SonarQube for IDE will
- try to match locally detected issues with those detected on the server.
- If a match is found, the
resolve issue as...action will be available in the IDE. - If your local branch has issues that do not exist on the server, you will not be able to mark them as resolved “in advance”.
Is this what you would like to do? This feature exists when connecting to SonarQube Server but not with SonarQube Cloud. Your insights could help us prioritise the work.
As for the “seemingly resolved issue coming back after restart”, I was not able to reproduce the scenario. I selected resolve issue as... action, and saw the success notification issue status was changed. Then restarted the window and the issue was still gone.
We would still need verbose logs to investigate further. You should be seeing something like POST 200 https://sonarcloud.io/api/issues/do_transition if the issue resolution really works.
I hope that helps,
Sophio