Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Announcements
  4. Plugin that adds tabs to QtCreator
Qt 6.12 LTS is out! See what's new in the release blog

Plugin that adds tabs to QtCreator

Scheduled Pinned Locked Moved Announcements
34 Posts 18 Posters 44.3k 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.
  • crystalideaC Offline
    crystalideaC Offline
    crystalidea
    wrote on last edited by
    #8

    Mac build version is still 0.0.2 while Windows is 0.0.3
    snasoft, any chance to have the latest version on mac?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #9

      There is Ctrl-K, Ctrl-Tab, Alt-Left/Right, the open documents pane, the dropdown list in the editor toolbar, all allowing you to switch between open documents.

      So why waste space on tabs? All the other ways actually work for more than 5 or so files.

      napajejenunedk0N 1 Reply Last reply
      1
      • crystalideaC Offline
        crystalideaC Offline
        crystalidea
        wrote on last edited by
        #10

        It's a rhetorical question but why does Visual Studio support tabs...
        in 1920x1080 I have 12-14 visible tabs there
        it's convenient to see the list of currently opened files
        tab bar height in VS is about 16px

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AlGrenadine
          wrote on last edited by
          #11

          Hi
          Does not seem to work with QTCreator 3.2, even after having edited TabbedEditor.pluginspec file i get "D:\Qt\Tools\QtCreator\lib\qtcreator\plugins\TabbedEditor.dll: Cannot load library"

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #12

            Now if only you supported the Shift+Command+{arrowleft/arrowright} to switch the active tab left right that would be awesome. Note this is the same shortcuts used by Terminal and Finder tabs!!

            1 Reply Last reply
            0
            • S Offline
              S Offline
              serpheroth
              wrote on last edited by
              #13

              An updated version is available "here":https://github.com/serpheroth/qtcreator-tabbededitor-plugin. It can compile for QtCreator 3.2, also two shortcuts are added to switch to neighboring tabs. The shortcut keys can be modified in the QtCreator keyboard setting.

              precompiled binaries for 64-bit QtCreator 3.2 in Linux, Windows and Mac, are available "here":https://www.dropbox.com/sh/9l4mex549dm4fri/AAB1PiTkKnS9bRhuB9_59cxia?dl=0. If you are using 32-bit version of QtCreator, you will need to compile from source.

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #14

                Sperpheroth I am not sure this is usable. I downloaded the OSX precompile and the updated QtCreator 3.2. First I had to change these to:

                @
                <dependencyList>
                <dependency name="Core" version="3.2.0"/>
                <dependency name="TextEditor" version="3.2.0"/>
                </dependencyList>
                @

                Then I still got these errors (hinting at the fact that the dylib name is somehow corrupted with your username):

                @
                /Applications/Qt Creator.app/Contents/PlugIns/TabbedEditor/libTabbedEditor.dylib: Cannot load library /Applications/Qt Creator.app/Contents/PlugIns/TabbedEditor/libTabbedEditor.dylib: (dlopen(/Applications/Qt Creator.app/Contents/PlugIns/TabbedEditor/libTabbedEditor.dylib, 5): Library not loaded: /Users/dj/Qt5.3.2/5.3/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets
                Referenced from: /Applications/Qt Creator.app/Contents/PlugIns/TabbedEditor/libTabbedEditor.dylib
                Reason: image not found)
                @

                and this is how you fix it:

                @
                install_name_tool -change "/Users/dj/Qt5.3.2/5.3/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets" @rpath/Frameworks/QtWidgets.framework/Versions/5/QtWidgets libTabbedEditor.dylib
                install_name_tool -change "/Users/dj/Qt5.3.2/5.3/clang_64/lib/QtGui.framework/Versions/5/QtGui" @rpath/Frameworks/QtGui.framework/Versions/5/QtGui libTabbedEditor.dylib
                install_name_tool -change "/Users/dj/Qt5.3.2/5.3/clang_64/lib/QtCore.framework/Versions/5/QtCore" @rpath/Frameworks/QtCore.framework/Versions/5/QtCore libTabbedEditor.dylib
                install_name_tool -change "/Users/dj/Qt5.3.2/5.3/clang_64/lib/QtConcurrent.framework/Versions/5/QtConcurrent" @rpath/Frameworks/QtConcurrent.framework/Versions/5/QtConcurrent libTabbedEditor.dylib
                @

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mugi_luffy
                  wrote on last edited by
                  #15

                  @tallia1
                  would appreciate it if you could explain how to fix it for windows7 and Qt5.3.2.
                  trying to compile without any modifications yields among others the following errors for me:

                  • \tabbededitorplugin.h:24: error: Plugin Metadata file "TabbedEditor.json" does not exist. Declaration will be ignored

                  • \tabbededitorplugin.h:6: error: C1083: Cannot open include file: 'extensionsystem/iplugin.h': No such file or directory

                  \tabsforeditorswidget.cpp:4: error: C1083: Cannot open include file: 'coreplugin/actionmanager/actionmanager.h': No such file or directory

                  Thanks a lot

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #16

                    I know nothing about windows, sorry.

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      nikitablack
                      wrote on last edited by
                      #17

                      Hello. I'm very interested in this plugin. Unfortunately, the precompiled files doesn't work and I don't know how to build from the source, I have the same error:

                      • tabbededitorplugin.h:24: error: Plugin Metadata file “TabbedEditor.json” does not exist. Declaration will be ignored
                      • \tabbededitorplugin.h:6: error: C1083: Cannot open include file: ‘extensionsystem/iplugin.h’: No such file or directory .bq

                      I don't have iplugin.h on my machine. And what is TabbedEditor.json, where can I find it?

                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        nikitablack
                        wrote on last edited by
                        #18

                        Hello. I'm very interested in this plugin. Unfortunately, the precompiled files doesn't work and I don't know how to build from the source, I have the same error:

                        • tabbededitorplugin.h:24: error: Plugin Metadata file “TabbedEditor.json” does not exist. Declaration will be ignored
                        • \tabbededitorplugin.h:6: error: C1083: Cannot open include file: ‘extensionsystem/iplugin.h’: No such file or directory .bq

                        I don't have iplugin.h on my machine. And what is TabbedEditor.json, where can I find it?

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          midi-pascal
                          wrote on last edited by
                          #19

                          The plugin in its original version does not work for Creator 3.x
                          You have to download the fork from github as indicated by Sperpheroth in an earlier post in this thread.
                          For me it works perfectly (although with its knowned flaws).
                          As a supplemental note, you must download the Creator sources and build it locally too to be able to build the plugin itself, and set two build environment variables (within Creator itself) to build it:
                          Set QTC_BUILD to the path of the Creator build directory
                          Set QTC_SOURCE to the path of the Creator sources directory

                          All this because the plugin format changed completely from Creator 2.x to 3.x.

                          I worked a bit on this plugin for Creator 3.3.0 and implemented the part to restore the tabs from the previous session on startup. Still testing it, though.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            midi-pascal
                            wrote on last edited by
                            #20

                            The plugin in its original version does not work for Creator 3.x
                            You have to download the fork from github as indicated by Sperpheroth in an earlier post in this thread.
                            For me it works perfectly (although with its knowned flaws).
                            As a supplemental note, you must download the Creator sources and build it locally too to be able to build the plugin itself, and set two build environment variables (within Creator itself) to build it:
                            Set QTC_BUILD to the path of the Creator build directory
                            Set QTC_SOURCE to the path of the Creator sources directory

                            All this because the plugin format changed completely from Creator 2.x to 3.x.

                            I worked a bit on this plugin for Creator 3.3.0 and implemented the part to restore the tabs from the previous session on startup. Still testing it, though.

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              midi-pascal
                              wrote on last edited by
                              #21

                              The plugin sources for Qt Creator 3.3.0 with the last session restoration on startup are available here:
                              https://github.com/midi-pascal/qtcreator-tabbededitor-plugin
                              To build it (under Linux):

                              • Download the sources
                              • Open the project within Qt Creator 3.3.0
                              • Set the two environment variables as I wrote in the previous post in the Project window, Build Environment (Details->Add)
                              • Build the plugin
                              • Locate libTabbedEditor.so
                              • Copy it to the Qt subdirectory: Tools/QtCreator/lib/qtcreator/plugins/
                              • Restart Creator
                              • Enjoy!
                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                midi-pascal
                                wrote on last edited by
                                #22

                                The plugin sources for Qt Creator 3.3.0 with the last session restoration on startup are available here:
                                https://github.com/midi-pascal/qtcreator-tabbededitor-plugin
                                To build it (under Linux):

                                • Download the sources
                                • Open the project within Qt Creator 3.3.0
                                • Set the two environment variables as I wrote in the previous post in the Project window, Build Environment (Details->Add)
                                • Build the plugin
                                • Locate libTabbedEditor.so
                                • Copy it to the Qt subdirectory: Tools/QtCreator/lib/qtcreator/plugins/
                                • Restart Creator
                                • Enjoy!
                                1 Reply Last reply
                                0
                                • ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #23

                                  Would someone be so kind to compile the tabbed editor plugin for me? QTC not having editor tabs really drives me nuts for years now.. unluckily I don't have any luck compiling it myself.. QtCreator 3.3 and on Windows..

                                  1 Reply Last reply
                                  0
                                  • ? Offline
                                    ? Offline
                                    A Former User
                                    wrote on last edited by
                                    #24

                                    Would someone be so kind to compile the tabbed editor plugin for me? QTC not having editor tabs really drives me nuts for years now.. unluckily I don't have any luck compiling it myself.. QtCreator 3.3 and on Windows..

                                    1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      midi-pascal
                                      wrote on last edited by
                                      #25

                                      @bernhardberg

                                      Sorry, I cannot do that: I have no Windows box.
                                      However, it could be a good idea to specify which Windows version you are using if you expect someone to do this for you :-)
                                      Not sure a XP build would fit in a Windows 8 Qt Creator...

                                      Anyways I can certify the tabbed editor plugin is a major plus to Creator. I use it all day long and could not work without it now.

                                      Hope someone will do this for you :-)

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        midi-pascal
                                        wrote on last edited by
                                        #26

                                        @bernhardberg

                                        Sorry, I cannot do that: I have no Windows box.
                                        However, it could be a good idea to specify which Windows version you are using if you expect someone to do this for you :-)
                                        Not sure a XP build would fit in a Windows 8 Qt Creator...

                                        Anyways I can certify the tabbed editor plugin is a major plus to Creator. I use it all day long and could not work without it now.

                                        Hope someone will do this for you :-)

                                        1 Reply Last reply
                                        0
                                        • ? Offline
                                          ? Offline
                                          A Former User
                                          wrote on last edited by
                                          #27

                                          whoops. It should read Windows 8 ;-) Yeah, as I said I'd really appreciate it if someone could give me a hand on this as I'm stuck on some questionable compile errors with Qt Creator and I actually would like to spend my limited free time on developing my OSS project rather than fix compile errors.. Editor Tabs would be just a very handy productivity enhancement as I think we all spend too much time browsing through open files rather than working..

                                          I really don't get why Qt Creator doesn't support this ootb..

                                          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
                                          • Unsolved