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. Qt Creator. Missing shortcut: Go to last edit
Forum Updated to NodeBB v4.3 + New Features

Qt Creator. Missing shortcut: Go to last edit

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
12 Posts 4 Posters 1.4k 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.
  • W Offline
    W Offline
    Wilem2
    wrote on last edited by
    #1

    VS2017 have a shortcut to go to last edited code (really useful).

    After asking it in StackOverflow, they told me that this shortcut is missing in Qt Creator. I sent an email to Qt asking for this feature a month ago, but they doesn't reply.

    Do you know if Qt have some specific email for this sort of enhancements?

    Also, do you know if QtCreator provides the tools to develop this shortcut at my own, as a type of plugin or something like that?

    Thanks!

    aha_1980A 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should open a feature request on the bug report system targeting the Qt Creator project.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • W Wilem2

        VS2017 have a shortcut to go to last edited code (really useful).

        After asking it in StackOverflow, they told me that this shortcut is missing in Qt Creator. I sent an email to Qt asking for this feature a month ago, but they doesn't reply.

        Do you know if Qt have some specific email for this sort of enhancements?

        Also, do you know if QtCreator provides the tools to develop this shortcut at my own, as a type of plugin or something like that?

        Thanks!

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

        @wilem2 There is ongoing work to add this feature: https://codereview.qt-project.org/c/qt-creator/qt-creator/+/190374

        There are only a few open points, but hopefully this function can be added soon.

        Regards

        Qt has to stay free or it will die.

        D 1 Reply Last reply
        2
        • aha_1980A aha_1980

          @wilem2 There is ongoing work to add this feature: https://codereview.qt-project.org/c/qt-creator/qt-creator/+/190374

          There are only a few open points, but hopefully this function can be added soon.

          Regards

          D Offline
          D Offline
          devel
          wrote on last edited by
          #4

          @aha_1980 I'm (the author of those commits) not planning to work on this any time soon because I've managed to fix my previous IDE so my migration to QtCreator isn't a priority.

          If anyone wants to finish the work on this feature then feel free to proceed.

          1 Reply Last reply
          0
          • W Offline
            W Offline
            Wilem2
            wrote on last edited by
            #5

            Hi @devel and @aha_1980 .
            For what it shows in 190374: EditorManager: add GotoLastEdit action (Here)
            A great part of the code seems to be done, but only remains a "more elaborated commit", is that all?
            Is there more work to do?
            TIA

            aha_1980A 1 Reply Last reply
            1
            • W Wilem2

              Hi @devel and @aha_1980 .
              For what it shows in 190374: EditorManager: add GotoLastEdit action (Here)
              A great part of the code seems to be done, but only remains a "more elaborated commit", is that all?
              Is there more work to do?
              TIA

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

              Hi @Wilem2,

              unfortunately I don't know that code well enough to finish the patch.

              I think most of the work is done and you could already integrate the patch into your self-build Creator.

              If you want to push the integration forward, you should comment directly on Gerrit and ask what is needed to be accepted.

              If you want to work on the patch, I can support you to my best knowledge.

              Btw, do you have a commercial license?

              Regards

              Qt has to stay free or it will die.

              W 1 Reply Last reply
              0
              • aha_1980A aha_1980

                Hi @Wilem2,

                unfortunately I don't know that code well enough to finish the patch.

                I think most of the work is done and you could already integrate the patch into your self-build Creator.

                If you want to push the integration forward, you should comment directly on Gerrit and ask what is needed to be accepted.

                If you want to work on the patch, I can support you to my best knowledge.

                Btw, do you have a commercial license?

                Regards

                W Offline
                W Offline
                Wilem2
                wrote on last edited by
                #7

                Hi @aha_1980. No, I don't use the commercial license, do I need it to code Qt?
                Also, I work with Ubuntu, will it be a problem to compile qtCreator?
                Many thanks

                aha_1980A 1 Reply Last reply
                0
                • W Wilem2

                  Hi @aha_1980. No, I don't use the commercial license, do I need it to code Qt?
                  Also, I work with Ubuntu, will it be a problem to compile qtCreator?
                  Many thanks

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

                  Hi @Wilem2,

                  No, I don't use the commercial license, do I need it to code Qt?

                  No, you don't need. But if you had one, you could easily contact commercial support for help ;)

                  Also, I work with Ubuntu, will it be a problem to compile qtCreator?

                  No, that make it indeed very easy - I use Ubuntu 18.04 for hacking. Just run git clone https://code.qt.io/qt-creator/qt-creator.git and afterwards open the qtcreator.pro file in QtCreator. Then you can compile, run and debug the program.

                  If you got that, then I'll tell you how to integrate the patch :)

                  Best regards

                  Qt has to stay free or it will die.

                  W 1 Reply Last reply
                  0
                  • aha_1980A aha_1980

                    Hi @Wilem2,

                    No, I don't use the commercial license, do I need it to code Qt?

                    No, you don't need. But if you had one, you could easily contact commercial support for help ;)

                    Also, I work with Ubuntu, will it be a problem to compile qtCreator?

                    No, that make it indeed very easy - I use Ubuntu 18.04 for hacking. Just run git clone https://code.qt.io/qt-creator/qt-creator.git and afterwards open the qtcreator.pro file in QtCreator. Then you can compile, run and debug the program.

                    If you got that, then I'll tell you how to integrate the patch :)

                    Best regards

                    W Offline
                    W Offline
                    Wilem2
                    wrote on last edited by
                    #9

                    Hello @aha_1980 ,
                    I followed your instructions and now I can run qtCreator in debug mode.
                    How I integrate the patch of @devel ? Do I need a Jira and Gerrit accounts to push code?
                    Thanks in advance!

                    aha_1980A 1 Reply Last reply
                    0
                    • W Wilem2

                      Hello @aha_1980 ,
                      I followed your instructions and now I can run qtCreator in debug mode.
                      How I integrate the patch of @devel ? Do I need a Jira and Gerrit accounts to push code?
                      Thanks in advance!

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

                      Hi @Wilem2,

                      glad you got so far!

                      How I integrate the patch of @devel ? Do I need a Jira and Gerrit accounts to push code?

                      If you want to continue working on it and pushing a new version, yes. Please see below in that case.

                      If you just want to try to patch in your repo, it should be enough to do (I cannot try that, as I have an account):

                      git fetch "https://codereview.qt-project.org/qt-creator/qt-creator" refs/changes/74/190374/4 && git cherry-pick FETCH_HEAD
                      

                      To continue work on the patch, you need to set up Gerrit properly.

                      You should follow https://wiki.qt.io/Gerrit_Introduction, roughly, the following is needed:

                      1. Create a Gerrit/Jira account
                      2. Confirm the CLA (contribution license agreement)
                      3. Upload your public SSH key to gerrit
                      4. Add gerrit as remote to your git repo git remote add gerrit ssh://<your-user-name>@codereview.qt-project.org:29418/qt-creator/qt-creator
                      5. git fetch gerrit
                      6. Modify code, commit
                      7. git push gerrit HEAD:refs/for/master

                      Regards

                      Qt has to stay free or it will die.

                      W 1 Reply Last reply
                      0
                      • aha_1980A aha_1980

                        Hi @Wilem2,

                        glad you got so far!

                        How I integrate the patch of @devel ? Do I need a Jira and Gerrit accounts to push code?

                        If you want to continue working on it and pushing a new version, yes. Please see below in that case.

                        If you just want to try to patch in your repo, it should be enough to do (I cannot try that, as I have an account):

                        git fetch "https://codereview.qt-project.org/qt-creator/qt-creator" refs/changes/74/190374/4 && git cherry-pick FETCH_HEAD
                        

                        To continue work on the patch, you need to set up Gerrit properly.

                        You should follow https://wiki.qt.io/Gerrit_Introduction, roughly, the following is needed:

                        1. Create a Gerrit/Jira account
                        2. Confirm the CLA (contribution license agreement)
                        3. Upload your public SSH key to gerrit
                        4. Add gerrit as remote to your git repo git remote add gerrit ssh://<your-user-name>@codereview.qt-project.org:29418/qt-creator/qt-creator
                        5. git fetch gerrit
                        6. Modify code, commit
                        7. git push gerrit HEAD:refs/for/master

                        Regards

                        W Offline
                        W Offline
                        Wilem2
                        wrote on last edited by
                        #11

                        Hello @aha_1980

                        Thanks for your guidelines.

                        I follow your steps, but I messed up at the time of pushing code because I created 2 new tasks in gerrit and not modify the Original Task.
                        The ones I created are this and this1.

                        I think the problem is with the command: "git push gerrit HEAD:refs/for/master"
                        which I copy-paste it in bash, but I think i have to put something in the "refs/for/master". Could you please tell me, in the case of the task, what I have to put there?

                        Also, the Sanity Bot tells me that I have a supsicious name, but I change it, as you can see in my profile info:

                        Profile.png

                        Many thanks!

                        aha_1980A 1 Reply Last reply
                        0
                        • W Wilem2

                          Hello @aha_1980

                          Thanks for your guidelines.

                          I follow your steps, but I messed up at the time of pushing code because I created 2 new tasks in gerrit and not modify the Original Task.
                          The ones I created are this and this1.

                          I think the problem is with the command: "git push gerrit HEAD:refs/for/master"
                          which I copy-paste it in bash, but I think i have to put something in the "refs/for/master". Could you please tell me, in the case of the task, what I have to put there?

                          Also, the Sanity Bot tells me that I have a supsicious name, but I change it, as you can see in my profile info:

                          Profile.png

                          Many thanks!

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

                          We could solve the first part together in a chat session by:

                          git reset HEAD~2
                          git commit --amend
                          
                          git push HEAD:refs/for/master
                          

                          Qt has to stay free or it will die.

                          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