Thanks for the UX feedback regarding your first impressions, it’s very valuable to us.
Regarding the output window: it is the built-in VS tool window, available under View -> Output. It contains a dropdown “show output from”, and SonarLint is one of the options. You can see the SonarLint logs there, with information about analysis and additional features. I’ve noted your feedback regarding the visibility of this.
Regarding the rule descriptions:
In Visual Studio, you can see the rule descriptions in 2 places:
- In the popup tooltip that you saw when hovering over the squiggly, the cpp rule is a link which will take you to rules.sonarsource.com and display a detailed rule description.
- In the error list, clicking on rule link will also take you there.
Alternatively, you can also visit rules.sonarsource.com and filter by C++ rules.
If you wish to enable a certain rule, you need to input that rule’s ID in the
settings.json. To know what the id is, you need to open the rule in rules.sonarsource.com, and view the browser URL: it will end with RSPEC-XXX, and the XXX is the match to
cpp:SXXX (note the S at the start).
I’ve passed on notes regarding this UX.
An additional way to configure the rules is by syncing your project to SonarQube or SonarCloud. This will allow you to enable/disable rules on the server and have them synchronized in your IDE. You can read about it here.
If you have any questions / suggestions, please feel free to continue this discussion. As I’ve mentioned, your feedback is valuable to us.