Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 2.5.2
-
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;