[Qt-creator] Changing the default editor for a MIME type
andre.hartmann at iseg-hv.de
Tue Nov 27 08:33:13 CET 2018
> If you add *.dts as a pattern to the text/plain mime type, I’d expect
them to be opened in the plain text editor instead.
Thanks Eike, that worked! :)
>> On Nov 27, 2018, at 08:10, André Hartmann <andre.hartmann at iseg-hv.de> wrote:
>> I'm a step further:
>> I deleted the pattern *.dts from audio/vnd.dts, and after a restart it opens the files in a text editor, but with Clang annotations.
>> So it seems, Creator uses a C++ editor to edit the file. A "normal" text editor would have been enough.
> If you add *.dts as a pattern to the text/plain mime type, I’d expect them to be opened in the plain text editor instead.
> Br, Eike
>> Anyway, I can edit my files now.
>>> I'd like to edit some Linux Kernel Device Tree files (*.dts) in QtCreator.
>>> Unfortunately this extension is mapped to audio/dts and has Binary Editor as handler.
>>> It seems there is no way to change that assignment - what am I missing?
>> Qt-creator mailing list
>> Qt-creator at lists.qt-project.org
More information about the Qt-creator