Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19029

Open With Plain Text Editor option is missing for .dts files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • Qt Creator 13.0.0-rc1
    • Qt Creator 4.3.1
    • Editors
    • None
    • 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

        Activity

          People

            davschul David Schulz
            richgriswold Richard Griswold
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes