Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Tabbed Editor?
Forum Updated to NodeBB v4.3 + New Features

Tabbed Editor?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 3 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Spirrwell
    wrote on last edited by
    #1

    Hello!

    First off, yes I'm aware of the FAQ and multiple plugins that already exist.

    qt-faq.png

    To address the existing plugins, yes they exist. They're quite old. They lack comfort features. I've been working hard the past few days to modify one of them to be a lot better to use to find out there isn't a whole lot I can do.

    The code for EditorWindow, EditorArea, EditorView, and so on are all behind private code. So there's no good way if any way to keep track of split windows and add tab bars to them, or determine where a newly opened editor is. (split/window/etc.)

    So it seems like my only option is to modify Qt Creator itself. But I want this to be easily accessible to everyone who wants it, and not just me and the random people who are willing to build my own Qt Creator fork just for this feature.

    My question is, what are my options here? I'd be happy to try and contribute to Qt Creator, but the FAQ is against me there.

    I vehemently disagree with the design decision in the FAQ. I believe at the bare minimum there should be an option for a tabbed editor experience in Qt Creator. I absolutely love Qt Creator as a C++ IDE and it has some of the best CMake integration out there.

    But not having tabs is driving me nuts. It's C++, we're constantly switching between files. Ctrl+K is fine for files we haven't opened yet. Other IDEs also use tabs as the method to split into views or windows which is so natural and convenient vs Qt Creator's tiny buttons and keyboard shortcuts that don't even seem to really work?

    I've seen a few posters say something along the lines that they got used to it or they "don't miss tabs." That's great, but I miss them a LOT. Tabs are a wonderfully useful feature.

    Sorry if this was slightly rant-y, but I want tabs. I know many people want tabs. It wouldn't be a FAQ if that weren't the case.

    aha_1980A 1 Reply Last reply
    1
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Spirrwell said in Tabbed Editor?:

      but I want tabs. I know many people want tabs

      Feel free to provide a patch or plugin to QtCreator. It's OpenSource...

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      S 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        @Spirrwell said in Tabbed Editor?:

        but I want tabs. I know many people want tabs

        Feel free to provide a patch or plugin to QtCreator. It's OpenSource...

        S Offline
        S Offline
        Spirrwell
        wrote on last edited by
        #3

        @Christian-Ehrlicher said in Tabbed Editor?:

        @Spirrwell said in Tabbed Editor?:

        but I want tabs. I know many people want tabs

        Feel free to provide a patch or plugin to QtCreator. It's OpenSource...

        I just explained why a plugin isn't feasible and a lack of tabs is a design decision as pointed out in the FAQ. If I go through the work to modify Qt Creator and submit a patch is my work going to be for nothing? I've read that this has been tried in the past and been rejected though I can't find references to when.

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then fork QtCreator. I really wonder what you think you will gain with this post...

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          S 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            Then fork QtCreator. I really wonder what you think you will gain with this post...

            S Offline
            S Offline
            Spirrwell
            wrote on last edited by Spirrwell
            #5

            @Christian-Ehrlicher said in Tabbed Editor?:

            Then fork QtCreator. I really wonder what you think you will gain with this post...

            I also said I want it to be easily accessible to everyone, without having people jump through hoops and find my Qt Creator fork to build it themselves. That's incredibly messy and not a good solution.

            What I'm hoping to gain with this post is a good solution.

            1 Reply Last reply
            0
            • S Spirrwell

              Hello!

              First off, yes I'm aware of the FAQ and multiple plugins that already exist.

              qt-faq.png

              To address the existing plugins, yes they exist. They're quite old. They lack comfort features. I've been working hard the past few days to modify one of them to be a lot better to use to find out there isn't a whole lot I can do.

              The code for EditorWindow, EditorArea, EditorView, and so on are all behind private code. So there's no good way if any way to keep track of split windows and add tab bars to them, or determine where a newly opened editor is. (split/window/etc.)

              So it seems like my only option is to modify Qt Creator itself. But I want this to be easily accessible to everyone who wants it, and not just me and the random people who are willing to build my own Qt Creator fork just for this feature.

              My question is, what are my options here? I'd be happy to try and contribute to Qt Creator, but the FAQ is against me there.

              I vehemently disagree with the design decision in the FAQ. I believe at the bare minimum there should be an option for a tabbed editor experience in Qt Creator. I absolutely love Qt Creator as a C++ IDE and it has some of the best CMake integration out there.

              But not having tabs is driving me nuts. It's C++, we're constantly switching between files. Ctrl+K is fine for files we haven't opened yet. Other IDEs also use tabs as the method to split into views or windows which is so natural and convenient vs Qt Creator's tiny buttons and keyboard shortcuts that don't even seem to really work?

              I've seen a few posters say something along the lines that they got used to it or they "don't miss tabs." That's great, but I miss them a LOT. Tabs are a wonderfully useful feature.

              Sorry if this was slightly rant-y, but I want tabs. I know many people want tabs. It wouldn't be a FAQ if that weren't the case.

              aha_1980A Offline
              aha_1980A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on last edited by aha_1980
              #6

              Hi @Spirrwell,

              I think you should contact the core developers on the mailing list.

              I see two options:

              1. They would accept your patch to optionally have tabs
              2. They would accept changes to make private API you need public, so you could access them from your plugin (which could in principle even be distributed alongside Creator)

              I personally don't need tabs, and I think most long-time Creator users feel the same, but I also understand that other people have different workflows.

              Maybe we can meet in the middle :)

              Regards

              Qt has to stay free or it will die.

              S 1 Reply Last reply
              3
              • aha_1980A aha_1980

                Hi @Spirrwell,

                I think you should contact the core developers on the mailing list.

                I see two options:

                1. They would accept your patch to optionally have tabs
                2. They would accept changes to make private API you need public, so you could access them from your plugin (which could in principle even be distributed alongside Creator)

                I personally don't need tabs, and I think most long-time Creator users feel the same, but I also understand that other people have different workflows.

                Maybe we can meet in the middle :)

                Regards

                S Offline
                S Offline
                Spirrwell
                wrote on last edited by
                #7

                @aha_1980 This is what I was hoping for. I will go ahead and do that. Thank you!

                1 Reply Last reply
                1

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved