[Qt-creator] C++ Code Style and empty lines
dmitry.volosnykh at gmail.com
Thu Feb 15 12:03:01 CET 2018
Tools menu / Options menu item / Text Editor entry in the list on the left
/ Behaviour tab / Cleanups Upon Saving control group
On Thu, Feb 15, 2018 at 1:59 PM Benjamin TERRIER <b.terrier at gmail.com>
> Is there a way in Qt Creator to set the C++ code style so that there
> are no indentation spaces in empty lines?
> I'm looking for this, because last time I made a contribution to Qt I
> tried to
> auto indent some code and it added spaces in empty lines. This is
> because it goes against Qt Project code style.
> Also, this conflicts with the behavior of "Cleanups Upon Saving" options.
> Because if "Clean whitespace" is checked, it will remove the "space on
> empty line" added by the auto-indent function.
> The "clean indentation" option seems to have no effects on this, which
> is kind of weird, because that means that "auto-indent" and "clean
> indentation" do not agree on what the indentation should look like in
> empty lines.
> Qt-creator mailing list
> Qt-creator at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qt-creator