SonarCommunity/sonar-csharp — pull request #18 by jmecosta (2014-12-20 12:09:01+00:00)
Title: Rule discovery - merge from master, extend to support visual studio

@dbolkensteyn
here https://github.com/jmecosta/VSSonarQubeExtension/releases/download/1.5.0/VSSonarQubeExtensionMetro2015.vsix

is a first implementation of the support of visual studio. Ive use code from @adamrodger since i needed to include a base class also.

This first implementation uses zeromq to configure the parameters. it works like this:

Sonar extension side, creates a publisher server a brodcasts parameters.
Each diagnostic initiates a subscriber and listen to messages sent from the extension.

Once a solution is loaded the quality profile is retrived from server and broadcast envelopes updated to include the new configuration. Once the diagnostics are loaded then, new settings are in use.

This seems to work nicely, if you update a quality profile in sonar ui, then those settings are taken into use once the solution reloads.

As of now, i have added to disable code check. So all diagnostics are enabled, this needs a bit more code in this side... not a big deal