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

Option to choose where QtCreator should place * and &

    XMLWordPrintable

Details

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

    Description

      Now Qt Creator always attaches * and & to variable. There are at least 2 other coding styles I'm aware of:

      • * and & attached to type
      • * and & left in the middle between type and variable

      It would be nice if we had an option to choose between these 3 styles.

      Example
      // Current behaviour
      QObject *myObject;
      // Other styles
      QObject* myObject;
      QObject * myObject;
      

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            sidewinder Adam Kłos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes