I am running VSCode on my Windows host machine - but it is editing code inside of WSL (Rocky Linux distro).
With the SonarQube for IDE extension installed, I’ve setup my Code Workspace to use Connected Mode.
I’ve setup my connection, bound my Code Workspace folders to the projects setup in our SonarQube server. It works beautiful.
The issue I have is that I’ve setup my own quality profile. I am switching the rule S1481 - Unused local variables should be removed on and off to see if it is picking up my rules.
It would appear that the only way to “refresh” the quality profile is to Reload Window in vscode? Is there an option that can manually refresh the profile in vscode?
Welcome to the community and thanks for this report!
What version of SonarQube for VS Code are you seeing this in? I suspect this is the current/latest behavior, but want to confirm before I flag this for the team.
Thanks for the question. I’m glad to hear overall the plugin works fine
The server synchronisation happens every hour, or at startup. So you are right - there is no manual button to trigger it, and if you want to have it right away, you will need to reload the window.
We are aware of this limitation & it is not an easy fix unfortunately