Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-6169

Add the ability to configure the way pointer and reference symbols are autocompleted

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.7.0
    • Qt Creator 2.3.0
    • Editors
    • None
    • Linux 64.

    • 8c3794f9d104a39b7f91764b7725dad8726fbde0, 138066792e61925b827d9d722669b8d96bc0a87b, 8fe25d0a4a1f61d0071ff9f10bb26204354da58e, 632eaf06a9f4727c185bad2b43449e8d1f306658

    Description

      Currently, when Qt Creator completes function definitions with pointers or references (based on definitions in header files), it always completes them in the format:
      void Class::doSomething(unsigned int &number, Object *pObject).

      Even if in the header file they're in another format (I'm assuming it rebuilds them from an AST or something)...

      It would be nice if it was possible to configure this to support the following way:
      void Class::doSomething(unsigned int& number, Object* pObject)

      Or maybe just grab the text exactly from the header file, (but I guess this would have issues for default params, so maybe not).

      With the new ability in trunk to keep definitions and declarations in sync, it's even more annoying having inconsistencies.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kosjar Nikolai Kosjar
              ppearson Peter Pearson
              Votes:
              16 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes