[Qt-creator] hpp file type/extension

Thorbjørn Lindeijer thorbjorn.lindeijer at nokia.com
Wed Mar 4 17:19:14 CET 2009


ext Paulo Jnkml wrote:
> Hi people,
> just compiled qt-creator from the git repo.
> Relative to this email, apparently it wasn't as easy as that, since it's 
> still not applied to the main branch?

The below mentioned issues haven't been fixed yet. I'll see if I can 
have a look at it tomorrow.

Regards,
Bjørn

> On 02/06/09 23:37, Thorbjørn Lindeijer wrote:
>> 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