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. Multiple Tab support:Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Multiple Tab support:Qt Creator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
15 Posts 9 Posters 15.5k Views 2 Watching
  • 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
    sura
    wrote on last edited by
    #6

    Yup, I been looking for same thing. Visual Studio, Sublime, VsCode, Notepad++, Netbeans, Eclipse, Codeblocks, Dev, Delphi all these IDE's have tab layouts - this decision needs a review.

    mrjjM 1 Reply Last reply
    1
    • S sura

      Yup, I been looking for same thing. Visual Studio, Sublime, VsCode, Notepad++, Netbeans, Eclipse, Codeblocks, Dev, Delphi all these IDE's have tab layouts - this decision needs a review.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #7

      @sura
      Hi
      Its open-source so you could add it your self if you miss them a lot.

      I dont miss tabs at all even that i use other IDEs that has them.

      The open Docs view and the file drop down list on top of current file
      and ctrl +K is so much better than tabs.

      JonBJ 1 Reply Last reply
      1
      • K Offline
        K Offline
        kuzulis
        Qt Champions 2020
        wrote on last edited by kuzulis
        #8

        AFAIK, there were proposed a lot of patches to the QtC to enable the 'tabs' support, but all this suggestions were rejected.

        1 Reply Last reply
        2
        • mrjjM mrjj

          @sura
          Hi
          Its open-source so you could add it your self if you miss them a lot.

          I dont miss tabs at all even that i use other IDEs that has them.

          The open Docs view and the file drop down list on top of current file
          and ctrl +K is so much better than tabs.

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by
          #9

          @mrjj said in Multiple Tab support:Qt Creator:

          and ctrl +K is so much better than tabs.

          wtf does Ctrl+K do? :)

          mrjjM andrA 2 Replies Last reply
          0
          • JonBJ JonB

            @mrjj said in Multiple Tab support:Qt Creator:

            and ctrl +K is so much better than tabs.

            wtf does Ctrl+K do? :)

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #10

            @JonB
            super search. even takes regular expressions.
            i also use it to go to files as it can also search taht.
            so ctrl +k and type a few letters and you are there. Often much faster than navigating the project tree :)

            alt text

            JonBJ 1 Reply Last reply
            3
            • mrjjM mrjj

              @JonB
              super search. even takes regular expressions.
              i also use it to go to files as it can also search taht.
              so ctrl +k and type a few letters and you are there. Often much faster than navigating the project tree :)

              alt text

              JonBJ Online
              JonBJ Online
              JonB
              wrote on last edited by
              #11

              @mrjj
              Too much typing :) But I'll bear it in mind!

              Can you do this one in Creator:

              1. I'm in a file on, say, object.methd();. And I click on the method and press whichever key (can't remember) which takes me to the definition body of the method. Which is fine.

              2. Now I want a key which takes me back to wherever I came from when I pressed that key (i.e. the calling code).
                a. This may be in another file.
                b. Or, it may be elsewhere in the same file.

              Is there an easy key for 2.a. and/or 2.b.?

              mrjjM 1 Reply Last reply
              0
              • JonBJ JonB

                @mrjj
                Too much typing :) But I'll bear it in mind!

                Can you do this one in Creator:

                1. I'm in a file on, say, object.methd();. And I click on the method and press whichever key (can't remember) which takes me to the definition body of the method. Which is fine.

                2. Now I want a key which takes me back to wherever I came from when I pressed that key (i.e. the calling code).
                  a. This may be in another file.
                  b. Or, it may be elsewhere in the same file.

                Is there an easy key for 2.a. and/or 2.b.?

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #12

                @JonB
                hi
                Its ultra fast even with typing and im lazy :)

                1. alt + arrow (cursor ) key left
                  cycles in history. ( right goes forward)
                  and includes places in same file.
                JonBJ 1 Reply Last reply
                3
                • mrjjM mrjj

                  @JonB
                  hi
                  Its ultra fast even with typing and im lazy :)

                  1. alt + arrow (cursor ) key left
                    cycles in history. ( right goes forward)
                    and includes places in same file.
                  JonBJ Online
                  JonBJ Online
                  JonB
                  wrote on last edited by
                  #13

                  @mrjj Provided I can remember that, that will be really useful for me!

                  1 Reply Last reply
                  1
                  • aha_1980A aha_1980

                    @mapuna all the options @J-Hilk named are possible. QtCreator doesn't have tabs and never will. it's a design decision and imho, it's the correct decision.

                    after a while, you don't miss them.

                    B Offline
                    B Offline
                    Beep Bop
                    wrote on last edited by Beep Bop
                    #14

                    What, you don't like painstakingly splitting the screen into 8 editors and awkwardly dragging the split-lines around?
                    No tabs

                    1 Reply Last reply
                    0
                    • JonBJ JonB

                      @mrjj said in Multiple Tab support:Qt Creator:

                      and ctrl +K is so much better than tabs.

                      wtf does Ctrl+K do? :)

                      andrA Offline
                      andrA Offline
                      andr
                      wrote on last edited by
                      #15

                      @JonB said in Multiple Tab support:Qt Creator:

                      @mrjj said in Multiple Tab support:Qt Creator:

                      and ctrl +K is so much better than tabs.

                      wtf does Ctrl+K do? :)

                      It opens the "Locator" which lets you search for practically anything with a few keystrokes, see https://doc.qt.io/qtcreator/creator-editor-locator.html

                      To explain the idea a bit (and mostly repeat what others have said here):

                      Tabs do not scale beyond a few dozen files. It's not an efficient way to handle non-trivially sized projects. If you really need to see the names of your open files on screen to be able to jump around using mouse, you can use the "Open Documents" view. That's kind of similar to "vertical tabs". And also doesn't scale well beyond a few dozen files.

                      And there are better ways to navigate around a project. I found it useful to forget about the notion of "open files": The main entity is the project. Files are part of a project, and file contents is important. Whether the files themselves are "open" in some not directly visible buffer (accessed by tabs or otherwise) does not really matter for the project, nor for the contents, and is really secondary when you can jump to the right file when needed. At this time you have a context, like "Usages of symbol X" or "Definition of class Y" or such, i.e. you are already at a mention of X or Y. From there it typically takes just one of the navigation shortcut to "open" the file.

                      It is really rare that one sit in fronts of the project and then thinks "I need to go to file abc.cpp" without further context. And even then, that's just Ctrl+K + some unique bits of "abc.cpp". Which is in all non-trivial projects faster than optically scanning through tabs, perhaps handle "overflown tabs" etc.

                      1 Reply Last reply
                      0

                      • Login

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