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. [SOLVED] Add 'Function' Declaration
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Add 'Function' Declaration

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

    Hello everybody!

    I've seen this functionnality in Qt creator, a very usefull one, but unfortunatly, i did not managed to use it, in 2.4.0 beta on windows.
    "as shown":http://doc.qt.nokia.com/qtcreator-snapshot/creator-editor-refactoring.html#refactoring-c-code
    Am i forgetting something?
    Could someone tell me if the shorcuts works properly ?

    Thanks!

    dmcr

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      It works on the Mac for me, I don't have a Windows box at hand to test, though.

      http://www.catb.org/~esr/faqs/smart-questions.html

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

        Thanks Volker!

        If you see this post, could you tell me exactly what to do ?
        Even reading quite carrefully i have the feeling that i miss something....

        democrie

        dmcr

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fluca1978
          wrote on last edited by
          #4

          Works for me on Linux.

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

            So that's why i think miss something :

            i- created (test.h) @void test();@
            ii- right click on it

            -> i didn't see anything like 'add function declaration' in the menu

            dmcr

            1 Reply Last reply
            0
            • F Offline
              F Offline
              fluca1978
              wrote on last edited by
              #6

              That should be "add function definition" since you have the header. Anyway place the cursor within the method name, ALT+ENTER and the menu pops up.

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dmcr
                wrote on last edited by
                #7

                Thanks!
                ALT+ENTER works fine!

                dmcr

                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