source formatter settings usability

Esben Mose Hansen kde at mosehansen.dk
Fri Mar 4 08:21:04 UTC 2011


On Thursday 03 March 2011 17:25:42 Milian Wolff wrote:
> Any suggestions on how to improve that?

A very simple fix would be to make the mime-types a list which is a part of 
each "configuration", and supply a few defaults. So instead of mime-type being 
toplevel, we simply use a name here. That way, say C++-hdr/C++src/C-hdr/C-src 
could use the same formatting settings, which php-* might use another set.

Admittedly, it would have to track minetypes across all the names so that one 
mime-type is never used in more than one place.

-- 
kind regards, Esben




More information about the KDevelop-devel mailing list