[Qt-creator] Qt Creator beautifier plugin vs. built-in code style
asmaloney at gmail.com
Tue Aug 22 16:03:44 CEST 2017
Thanks Nikolai. To be fair - _that_ one is non-obvious.
To me, it's a custom format, but I guess a config file can be considered
both "predefined" and "customized".
My UX suggestion (also changing "style" to "format"):
O Use standard format <dropdown>
O Use custom format <dropdown>
O Use configuration file <put in file name to look for, default to
Andy Maloney // https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>
On Tue, Aug 22, 2017 at 9:44 AM, Nikolai Kosjar <nikolai.kosjar at qt.io>
> On 08/22/2017 03:33 PM, Andy wrote:
>> Cool - thanks Eike!
>> Is there a way to turn that on per-project? I don't see anything in the
>> project settings for that. Aside from my own work, I work on several
>> open-source projects and switch back-and-forth frequently. Unfortunately
>> I'm not in a position to force them to use the One True Format...
>> Another suggestion - it would be very useful to be able to read the
>> clang-format config per-project from a file (".clang-format.cfg?"). (Does
>> this already exist too?) This would help avoid misconfiguration when
>> several developers are on the same codebase.
> Menu: Tools > Options > Beautifier > Clang Format:
> Use predefined style: File
> This will search for e.g. .clang-format in the parent directories.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qt-creator