[Qt-creator] cppcheck output into issues pane.

Tobias Hunger tobias.hunger at digia.com
Fri Sep 20 14:47:59 CEST 2013


On 20.09.2013 13:45, André Hartmann wrote:
> Hi,
>
> I already started doing something similar (in my case unit testing
> output) by using the Custom Parser introduced in Creator 3.0.
>
> Unfortunately I stucked soon and then didn't find the time to continue
> work.
>
> Tobias, do you think it makes sense to have such an feature? The parser
> should be configurable for each run step IMHO. I'm definitely interested
> in such a function, but will need some help to get it working.

Of course it makes sense to have features:-) We do have the CustomParser 
now, so it makes sense to put that to use. The tricky part is of course 
specifying where that parser should be put to use (e.g. Parse "make 
check" output, but not "make" output to avoid causing false positives).

When I wrote the task list plugin (it's just a couple of lines really), 
I only had it parse its simple CSV files. My argument was that it is 
easy to write up parsers in perl/python/ruby/shell/whatever for 
basically arbitrarily complex input. Back then I needed to handle
some XML output from some internal tool if I remember correctly... 
nothing I would want to do with the CustomParser we have nowadays:-)

I would like to extend the task list plugin at some point to make it 
support more than one input file at a time (and save those files as part 
of the session while at it). That will require a bit of work on the 
tasks themselves (e.g. store who generated a task so that we can clean 
them up more selectively, something that would be nice to have anyway). 
Never got round to actually do that though:-)

Best Regards,
Tobias

-- 
Tobias Hunger, Senior Software Engineer - Digia, Qt
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin. USt-IdNr: DE 286 306 868
Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list