[Qt-creator] TaskList plugin

Tobias Hunger tobias.hunger at nokia.com
Thu Aug 26 14:15:54 CEST 2010


Hello!

I just commited a little plugin I wrote yesterday evening into our 
master branch.

The plugin enables loading of files ending in ".tasks". Each line in it 
is treated as a tab-separated list of strings (with "\t", "\n" and "\\" 
used as escape characters) and those values are used to create one Task 
per line. Currently it accepts lines of the following form:
     description
     type\tdesciption
     file\ttype\description
     file\tline\ttype\tdescription

(With the task's type being set to "error" (red stop-sign icon) if the 
type starts with "err", to "warning" (yellow triangle icon) if it starts 
with "warn" (both are case insensitive) and "Unknown" (no icon) for any 
other value).

Lines starting with the '#' character (in the first column!) are ignored.

These tasks become available in the Build issues view inside creator 
(Category is "My tasks"). You can now navigate those tasks from that 
file like the compile issues. This is a great help if you are running 
code checking tools and need to follow up on their reports:-)

So if you are using tools like krazy, coverty, lint, etc. please write 
and share scripts to generate tasks lists from their reports.
Best Regards,
Tobias

PS: The changes will hit the public gitorious server with a 1h delay... 
so please be patient:-)

Best Regards,
Tobias

-- 
Tobias Hunger
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori



More information about the Qt-creator-old mailing list