[Qt-creator] Changing the default editor for a MIME type

Eike Ziller Eike.Ziller at qt.io
Tue Nov 27 08:21:15 CET 2018

> 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.
> Regards,
> André
>> Hello,
>> 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?
>> Regards,
>> André
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at lists.qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

More information about the Qt-creator mailing list