Example #1
0
        private void WriteWarning(string format, params object[] args)
        {
            string message = string.Format(CultureInfo.CurrentCulture, format, args);

            VsShellUtils.WriteToSonarLintOutputPane(this.serviceProvider, Strings.ConflictsManagerWarningMessage, message);
        }
 private void EffectiveRulesErrorHandler(string message, Exception error)
 {
     VsShellUtils.WriteToSonarLintOutputPane(this.serviceProvider, Strings.UnexpectedErrorMessageFormat, typeof(RuleSetInspector).FullName, message, Constants.SonarLintIssuesWebUrl);
     Debug.Fail(message, error.ToString());
 }
Example #3
0
 private void DebugOnly_MonitorProgress(IProgressEvents progress)
 {
     progress.RunOnFinished(r => VsShellUtils.WriteToSonarLintOutputPane(this.host, "DEBUGONLY: Binding workflow finished, Execution result: {0}", r));
 }