I’ve developed an Addin for MonoDevelop 3.0.3.5 which outputs to the Build Output tab with code simliar to this (I’ve simplified):
MonoDevelop.Ide.Gui.Pads.ErrorListPad errorListPad = IdeApp.Workbench.GetPad<MonoDevelop.Ide.Gui.Pads.ErrorListPad> ().Content as MonoDevelop.Ide.Gui.Pads.ErrorListPad;
System.IO.TextWriter buildOutput = errorListPad.GetBuildProgressMonitor().Log;
buildOutput.WriteLine("Build Output Test");
This is great but what I really want to do is output a few of the messages to the Warnings tab within the Error List as well. I’ve seen the API Documentation but am still not sure how to achieve this task.
Does anyone have any hints or tips on this?
Add it to the TaskService.
Here is an example of the generator tool doing so.