Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] override file type

Can you please explain me how to do that? I have the same problem. I am new
to CDT. We are creating a plugin that deals with c files. But actually those
c files should be treated as C++ to make indexer work as intended.   

Kennedy, Stephen M (Steve)-2 wrote:
> 
> I meant the indexer/parser, but I think I've found a possible solution.  I
> didn't realize you could add a content type association for the whole file
> name.
> 
> Thanks,
> Steve Kennedy
> Alcatel-Lucent
> 
>> -----Original Message-----
>> From: cdt-dev-bounces@xxxxxxxxxxx 
>> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Alena Laskavaia
>> Sent: Friday, May 14, 2010 1:31 PM
>> To: CDT General developers list.
>> Subject: Re: [cdt-dev] override file type
>> 
>> For the compiler or for the indexer? For complier there is -lang-c++
>> 
>> On Fri, May 14, 2010 at 1:09 PM, Kennedy, Stephen M (Steve) 
>> <steve.kennedy@xxxxxxxxxxxxxxxxxx> wrote:
>> > Is there a way to override the file type determined from 
>> the extension 
>> > for individual files?  In one of our projects, we have a 
>> handful of .c 
>> > files that are in fact C++ source files (ugh).
>> >
>> > Steve Kennedy
>> > Alcatel-Lucent
>> >
>> > _______________________________________________
>> > cdt-dev mailing list
>> > cdt-dev@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
>> >
>> >
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 
> 

-- 
View this message in context: http://old.nabble.com/override-file-type-tp28561974p33669482.html
Sent from the Eclipse CDT - Development mailing list archive at Nabble.com.



Back to the top