[Geany-devel] C++ file-type extensions
devel at xxxxx
Thu Jul 9 07:01:32 UTC 2009
On 07/09/2009 12:29 AM, Enrico Tröger wrote:
> On Wed, 8 Jul 2009 20:09:14 +0200, Enrico wrote:
>> On Wed, 8 Jul 2009 16:46:59 +0200 (MEST), Yves wrote:
>>> ----- original message --------
>>> Subject: Re: [Geany-devel] C++ file-type extensions
>>> Sent: Wed, 08 Jul 2009
>>> From: Frank Lanitz<frank at frank.uvena.de>
>>>> Am Mittwoch, den 08.07.2009, 15:18 +0200 schrieb Yves Pausch:
>>>>> As I have problems attaching the patch I provide a link instead:
>>>> At least for .h file this would introduce wrong behaviour as header
>>>> for C++ should be either .H or .hpp. Nevertheless this is something
>>>> you can configure on your end. Just have a look onto
>>> --- original message end ----
>>> The new behaviour wouldn't imho be wrong only different from the
>>> existing. I don't see any drawbacks while handling C headers in the
>>> same way as C++ headers apart from it isn't completely precise. Most
>>> of the C++ projects that I know or I'm involved into name their
>>> headers *.h and commonly only template class declarations will be put
>>> into *.hpp there. Bye, Yves.
>> And what about the other tousands of C projects around? They loose
>> syntax support for their headers files by default.
> One more note to clarify this a bit:
> if we would set *.h as a C++ extension, opened C .h files would be
> still highlighted of course even though as C++. From the highlighting
> point of view this won't make much difference. But opening C header
> files as C++ will affect the symbol parsing code and also
> the autocompletions.
> Additionally it might affect future changes in the build system (see
> build-system branch in SVN).
Thank you for clarifying things up a little. By now I only thought of
syntax highlighting of C as a subset of C++.
Back to the ipp issue. Those files contain the general and/or
specialized template class or function implementation if it f.e. won't
be done inline. C++ template libraries contain a bunch of those
generally. BTW some time ago we already ask Neil Hodgson to add it into
Scite and he did.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel