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

Opening files without project manager plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.15.2
    • Fix Version/s: None
    • Component/s: Editors
    • Labels:
      None
    • Environment:
      Gentoo x64
    • Platform/s:
      Linux/X11

      Description

      I use QtCreator as a text editor. I enable only TextEditor and BinEditor to just edit text files, then call it from filemanager as any other program.

      The issue is, you can't open file with only those 2 plugins, you also need GenericProjectManager, which makes startup really comparably slow.

      But. You don't actually need GenericProjectManager, because with those 2 plugins you can first open an instance of creator, and then feed it files with qtcreator -pid. I attach a script that i use to start an instance and then open the file in it, and the profile that i use, but that relies on bash sleep, toothpicks and glue.

      So, opening a file from argument on first startup should just work without project manager plugin imo, since it does on all consequent.

        Attachments

        1. qt_editor.sh
          0.3 kB
        2. qteditor.7z
          798 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            davschul David Schulz
            Reporter:
            anomalocaris Alex Drozdov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes