MakeBuilder, errors visualization
Vladimir Prus
ghost at cs.msu.su
Tue May 5 19:09:29 UTC 2009
On Tuesday 05 May 2009 22:52:15 Andreas Pakulat wrote:
> On 04.05.09 20:22:19, Иван Ручкин wrote:
> > I would like to show compilation errors in code, using MakeBuilder's MakeJob for that. To pass information about errors to View, I need to have that MakeJob somewhere around sublime's MainWindow.
>
> You mean the red-squiggly lines shown in the editor? Check how the
> problemreporter plugin creates the errors from the problems that the
> language supports register. You shouldn't need to expose anything from
> the make plugin to the outside world, it should be doable completely
> inside the plugin.
So, you suggest what whenever make plugin sees something that looks like
and error, it calls TopDUContext.addProblem for an appropriate
du context? How does one get TopDUContext given an URL of a source file?
- Volodya
More information about the KDevelop-devel
mailing list