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. How to increase a maximum number of steps for "Go back" command in the Qt Creator interface? A maximum number of steps by default is not enough
QtWS25 Last Chance

How to increase a maximum number of steps for "Go back" command in the Qt Creator interface? A maximum number of steps by default is not enough

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
8 Posts 6 Posters 1.2k 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.
  • N Offline
    N Offline
    Nick01
    wrote on last edited by Nick01
    #1

    #qtcreator #interface

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and welcome to the forums.
      If you compile, you cannot undo later.

      So im wondering what use case you see this in as
      you can undo massively as long as you dont start to compile.

      If you have the need to undo changes at a much later stage, a code revision system is what you really want :)

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Nick01
        wrote on last edited by
        #3

        Hi!

        Really question is very simple. :) I Use buttons "Go Back" (Alt+Left) and "Go Forward" (Alt+Right) in the Qt Creator interface to navigate through a code. And it is impossible to return back more than 28 steps, because a Qt Creator remember only 28 (magic number? :) ) jumps. Sometimes i need to return deeper. Is there is any configuration parameter or a configuration file where i can increase the size of the history?

        jsulmJ JonBJ 2 Replies Last reply
        0
        • N Nick01

          Hi!

          Really question is very simple. :) I Use buttons "Go Back" (Alt+Left) and "Go Forward" (Alt+Right) in the Qt Creator interface to navigate through a code. And it is impossible to return back more than 28 steps, because a Qt Creator remember only 28 (magic number? :) ) jumps. Sometimes i need to return deeper. Is there is any configuration parameter or a configuration file where i can increase the size of the history?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Nick01 I'm not aware of such configuration in QtCreator. You would need to check QtCreator source code or ask QtCreator developers on their mailing list.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          3
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi
            Ah, sorry i thought you meant undo.
            I have not seen any settings for that.
            You could use other ways of navigation.
            Like ctrl +k for super search.
            Or the bookmarks plugins.
            alt text
            you can have as many books marks as you like. and simply click
            on any to go there.

            there is also ctrl + tab. Not sure how many items it will list, though.

            1 Reply Last reply
            0
            • N Nick01

              Hi!

              Really question is very simple. :) I Use buttons "Go Back" (Alt+Left) and "Go Forward" (Alt+Right) in the Qt Creator interface to navigate through a code. And it is impossible to return back more than 28 steps, because a Qt Creator remember only 28 (magic number? :) ) jumps. Sometimes i need to return deeper. Is there is any configuration parameter or a configuration file where i can increase the size of the history?

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

              @Nick01
              Yes, it's probably a magic number and no, you probably can't alter it. 28 seems like a fair number of steps, I'm surprised you can manage/need to manage more in your head! :) By the time you're 28 deep why do you need to go all the way back up to where you were?! You may have to use a bookmark if it's to mark a "special" line.

              1 Reply Last reply
              2
              • C Offline
                C Offline
                csol
                wrote on last edited by
                #7

                I have the same problem and it is quite frustrating. I'm using this when tracing down calls using F2 and get back to where I originally was. And for this, 28 is clearly not enough. It won't cost much to switch that to e.g 127 or 255.

                Christian EhrlicherC 1 Reply Last reply
                0
                • C csol

                  I have the same problem and it is quite frustrating. I'm using this when tracing down calls using F2 and get back to where I originally was. And for this, 28 is clearly not enough. It won't cost much to switch that to e.g 127 or 255.

                  Christian EhrlicherC Online
                  Christian EhrlicherC Online
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @csol Feel free to create a feature request or provide a patch for it.

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

                  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