Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
Qt Creator 4.3.1
-
None
-
{{$> lsb_release -a}}
{{No LSB modules are available.}}
{{Distributor ID: Debian}}
{{Description: Debian GNU/Linux 9.1 (stretch)}}
{{Release: 9.1}}
{{Codename: stretch}}
{{$> uname -a}}
{{Linux hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux}}
Qt Creator 4.3.1
Based on Qt 5.9.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
Built on May 28 2017 14:10:10
From revision bfd818b2b1
Copyright 2008-2017 The Qt Company Ltd. All rights reserved.
The program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.{{$> lsb_release -a}} {{No LSB modules are available.}} {{Distributor ID: Debian}} {{Description: Debian GNU/Linux 9.1 (stretch)}} {{Release: 9.1}} {{Codename: stretch}} {{$> uname -a}} {{Linux hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux}} Qt Creator 4.3.1 Based on Qt 5.9.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit) Built on May 28 2017 14:10:10 From revision bfd818b2b1 Copyright 2008-2017 The Qt Company Ltd. All rights reserved. The program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
02bac2848 (13.0)
Description
I am trying to edit a .dts (device tree source) file using Qt Creator, but I only have the options to open the file with the system editor or the binary editor. This is apparently happening because some program has registered .dts as a DTS audio file.
I could hack the MIME database to remove the file association, but I would rather not have to since my changes could simply be overwritten by a later update. I can also change the file extension to .dtsi, but that would break my build if I don't rename it back, or I could create a symlink with a .dtsi extension, but that would pollute my source tree. It would be better if Qt Creator gave the option to open a file with the plain text editor even when the file extension was registered to something that normally wouldn't be plain text.
Attachments
For Gerrit Dashboard: QTCREATORBUG-19029 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
544256,2 | TextEditor: add mime type for device tree source files | 13.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |