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?
At moment the code breaks the rule when active.
def x():
plop = ""
x = ""
def probe_unused() -> None:
unused_var = "test"
Would be nice to have an option, unless I am missing it?
Thanks