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. Code folding short cut doesn't work
QtWS25 Last Chance

Code folding short cut doesn't work

Scheduled Pinned Locked Moved Qt Creator and other tools
12 Posts 3 Posters 9.6k 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.
  • D Offline
    D Offline
    dusktreader
    wrote on last edited by
    #1

    I do most of my development on a Linux platform (RHEL or Ubuntu). I have found that I can't get the code folding keyboard shortcut to work. This is ctrl+< by default, I believe. When I add a shortcut for fold/unfold all, this works fine. I would really like the code folding shortcut to work. Any ideas on how to get this going?

    “Machines take me by surprise with great frequency.” -- Alan Mathison Turing

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Which program (and version) are you using to edit your code? There are so many editors available;-)

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dusktreader
        wrote on last edited by
        #3

        Qt Creator 2.0

        “Machines take me by surprise with great frequency.” -- Alan Mathison Turing

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sabrog
          wrote on last edited by
          #4

          [quote author="dusktreader" date="1281740873"]This is ctrl+< by default, I believe.[/quote]
          QtCreator 1.3.1 WindowsXP, it work with Ctrl+Shift+<

          QT - Apple QuickTime
          Qt - Nokia's Qt Development Frameworks
          Apple is a competitor of Nokia, so QT != Qt

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dusktreader
            wrote on last edited by
            #5

            [quote author="SABROG" date="1281980827"][quote author="dusktreader" date="1281740873"]This is ctrl+&lt; by default, I believe.[/quote]
            QtCreator 1.3.1 WindowsXP, it work with Ctrl+Shift+<[/quote]

            Much Love! This worked. It's kind of frustrating, however, because in the keyboard shortcuts it is listed as Ctrl+<.

            Thank you!

            “Machines take me by surprise with great frequency.” -- Alan Mathison Turing

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              Could you please file a bug report about the keybinding being wrong?

              Our bugtracker is "here":http://bugreports.qt.nokia.com/.

              Thank you!

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sabrog
                wrote on last edited by
                #7

                [quote author="dusktreader" date="1281740873"]
                It's kind of frustrating, however, because in the keyboard shortcuts it is listed as Ctrl+<.
                Thank you![/quote]
                It's because button on keyboard can have few characters. For example Ctr+, (go to bookmark)
                , but this same button have "<" character, and for printing it we must press Shift before.

                QT - Apple QuickTime
                Qt - Nokia's Qt Development Frameworks
                Apple is a competitor of Nokia, so QT != Qt

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  dusktreader
                  wrote on last edited by
                  #8

                  [quote author="SABROG" date="1282121064"][quote author="dusktreader" date="1281740873"]
                  It&#39;s kind of frustrating, however, because in the keyboard shortcuts it is listed as Ctrl+&lt;.
                  Thank you![/quote]
                  It's because button on keyboard can have few characters. For example Ctr+, (go to bookmark)
                  , but this same button have "<" character, and for printing it we must press Shift before.

                  [/quote]

                  [facepalm]duh[/facepalm]

                  I can't believe I missed this. Thank you for enlightening me.

                  “Machines take me by surprise with great frequency.” -- Alan Mathison Turing

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tobias.hunger
                    wrote on last edited by
                    #9

                    Please do not report this as a bug then;-)

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dusktreader
                      wrote on last edited by
                      #10

                      I will not heap more scorn upon myself by posting this as a bug. However, it seems that the short-cut should read ctrl+shift+, as that is a much clearer specification of the short-cut.

                      “Machines take me by surprise with great frequency.” -- Alan Mathison Turing

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tobias.hunger
                        wrote on last edited by
                        #11

                        I think the problem is that some keyboards have < as Shift-. and others have the symbol accessible without shift.

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          dusktreader
                          wrote on last edited by
                          #12

                          Ah....fair enough!

                          “Machines take me by surprise with great frequency.” -- Alan Mathison Turing

                          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