Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is there a way to change the pointer star (*) placement in Qt Creator?
I've been using Qt Creator for some time but the only thing that bothers me is the way Qt Creator places the *-symbol like this (when pasting code or automatically updating the header file etc.):
while I strongly prefer it like:
I haven't found any setting related to this under Tools => Options.
Is there any way I can change how Qt Creator handles this?
Tools -> Options -> C++ -> Code Style -> Edit -> Pointers and References
This feature was introduced quite recently (Qt Creator 2.7.2, IIRC)
After installing the latest version of Qt Creator I'm able to see the the setting.
However, trying it out yields not-expected results...
I've ticked only "Type name" and "Left const/volatile" in the Pointers and References tab which makes the preview look good.
Thanks for your help.
Hmm... looks like you've found a bug. It doesn't work on my system either. Would you like to file a bug report at https://bugreports.qt-project.org/ ?
I've reported a bug.
Thanks for your reply.
Great; thanks for the report and the link :)