Is it possible to configure per-project settings rather than Global for the workspace?
I think there I’ve seen this should be done via org.sonarlint.eclipse.ui.prefs in .settings of the project?
Can I for example do
sonarLint.ruleActivationStatus=java:S2699=ERROR
when not in Connected Mode, the local Rules Configuration will be saved on the application level, not inside the workspace.
You will find the configuration persisting in the {Eclipse installation}/configuration/.settings/org.sonarlint.eclipse.ui.prefs file.
This cannot be done on the workspace or project level in a way that it is represented and used inside the IDE.
When in Connected Mode on the other hand, this can be done per project, but only via SonarQube or SonarCloud and not from within the IDE, as the configuration is downloaded from the server.
Got it.
This is interesting point though. What happens with the global settings on macOS when new Eclipse is installed via drag-and-drop into /Applications folder?
I’m assuming custom changes will be lost?
The answer here is yes if you have a “normal” Eclipse IDE installation that you downloaded from their website or via Homebrew.
For other, a bit more complex installations of Eclipse or other Eclipse-based IDEs, it might be different.