MakeBuilder, errors visualization

Vladimir Prus ghost at cs.msu.su
Wed May 6 13:43:57 UTC 2009


On Wednesday 06 May 2009 00:58:35 David Nolden wrote:
> Am Dienstag 05 Mai 2009 21:09:29 schrieb Vladimir Prus:
> > 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?
> This approach would have the advantage that it would be easy to integrate an 
> "Assistant" for solving the problem, and one would not need to have to handle 
> the editor smartrange stuff manually.
> 
> The top-context to use can be retrieved using 
> DUChainUtils::standardContextForUrl.
> 
> The disadvantage would be that it would work only if there is a top-context 
> for the document.

What determines if a top-context exists, or not? I presume, whether the document
is claimed by some language support plugin?

- Volodya




More information about the KDevelop-devel mailing list