[Qt-creator] hpp file type/extension

Thorbjørn Lindeijer thorbjorn.lindeijer at nokia.com
Fri Feb 6 15:37:00 CET 2009


ext Paulo Jnkml wrote:
> True,
> well if it's easy (and it should be), some common extensions that come 
> to my head are:
> 
> for C: c, h
> for C++: cpp, cxx, C, cc, h, H, hpp, hxx, hh
> 
> I'm happy with just c/cpp, h/hpp though.
> But, maybe some other people would be interested in seeing these "added" 
> too.

Actually we already have support for different file extensions (you will 
notice the correct editor is launched for your .hpp files for example, 
and they are added to the right list in your .pro file). However, the 
file icons shown in the projects tree is unfortunately still excluded 
from this system.

Also, we should probably fix the new header file wizard to adapt the 
include guard to the extension used for the header file. Of course you 
still can't please everyone unless you allow them to define the complete 
template themselves. That's something to think about for later.

Thanks for reporting these problems!

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software



More information about the Qt-creator-old mailing list