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

Autocompletion should respect 'Pointers and References' code style

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.6.2
    • C/C++/Obj-C++ Support
    • None

    Description

      When Qt Creator autocompletes the parameters for a function the user is defining (as inferred from the associated header file), the 'Pointer and References' code style rules are not respected – it seems that the autocompletion engine always right-binds the pointers.

      As an enhancement, the autocompletion system could:

      1. Check the active style rules for how pointers and references should be aligned;
      2. Attempt to infer the user-desired alignment based on the text in the associated header declaration.

      Attachments

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              kevinushey Kevin Ushey
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: