[Qt-creator] Generic highlighter für Bitbake *.inc files
André Hartmann
andre.hartmann at iseg-hv.de
Mon Jan 16 14:38:50 CET 2017
Hi Konstantin, Hi Eike,
> Actually, *.inc file extension may correspond to different file types
Sure, *.inc is a very generic extension - it was not my idea to name the
files this way.
> Looks like it conflicts with the highlighter for Doxyfile
You're right, disabling the fallback directory for the generic
highligher (which was filled with Kate definitions by Ubuntu) solved the
problem for me.
Thanks for your help and best regards,
André
Am 16.01.2017 um 12:28 schrieb Konstantin Tokarev:
>
>
> 16.01.2017, 14:11, "Eike Ziller" <eike.ziller at qt.io>:
>>> On Jan 16, 2017, at 12:06 PM, André Hartmann <andre.hartmann at iseg-hv.de> wrote:
>>>
>>> I found the bitbake-syntax-highlighter generic highlighter on Github [1] and started to use it for my bitbake receipes with QtCreator.
>>>
>>> Highlighting of .bb and .bbappend files works well, but .inc files are not highlighted at all. If I edit the XML file and change "*.inc" to "*.bbinc" in the extension list line and rename my file, the highlighting is fine. But that's not what I want to do :)
>>>
>>> Any ideas on this?
>>
>> Looks like it conflicts with the highlighter for Doxyfile
>
> Actually, *.inc file extension may correspond to different file types depending on context, e.g. LLVM project uses this extension for 1) C++ "header" files intended to be included in the middle or at the end of source file, and 2) for TableGen include files.
>
>>
>> Br, Eike
>>
>>> Best regards,
>>> André
>>>
>>> I have tried QtCreator 3.4 and 4.2.
>>>
>>> [1] https://github.com/ikoveshnikov/bitbake-syntax-highlighter
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>
>> --
>> Eike Ziller
>> Principal Software Engineer
>>
>> The Qt Company GmbH
>> Rudower Chaussee 13
>> D-12489 Berlin
>> eike.ziller at qt.io
>> http://qt.io
>> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
>> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
>>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
More information about the Qt-creator
mailing list