[Qt-creator] Beautifier Plugin Addition

Lorenz Haas lykurg at gmail.com
Mon Aug 29 08:16:02 CEST 2016


Hi,

I think that it does not really fit the scope of Beautifier which has
a very dedicated scope for "real"/official beautifiers such as
clang-format.

Instead, I'd like to bring up "Options > Environment > External Tools"
which seems to be a better place for your purpose. Of course it is
lacking the "automatically execute on save" for now, but this can be
added with medium effort.

Any thoughts on this issue from the cute guys?


Thanks
Lorenz


2016-08-26 16:37 GMT+02:00 Pendleton, Corey <Corey.Pendleton at garmin.com>:
> Hello All,
>
>
>
> I’ve been exploring the options available within Qt Creator for automating
> some file maintenance on save. The beautifier supports some of the
> formatting things I want to do. In addition, I want to create or update
> information in file header comments for changed files. Would it be
> reasonable to extend the beautifier with an option to specify arbitrary
> scripts to be run on file save?
>
>
>
> It is arguable that this is not “beautifying” but modifying the code which
> may be out of scope for this plugin. If that is the consensus then does this
> seem like a feature that would be useful in Qt Creator in general? Perhaps
> in the Options->Text Editor->Behavior->Cleanups Upon Saving area?
>
>
>
> Thanks!
> Corey Pendleton
>
>
> ________________________________
>
> CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use
> of the intended recipient(s) and contain information that may be Garmin
> confidential and/or Garmin legally privileged. If you have received this
> email in error, please notify the sender by reply email and delete the
> message. Any disclosure, copying, distribution or use of this communication
> (including attachments) by someone other than the intended recipient is
> prohibited. Thank you.
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>



More information about the Qt-creator mailing list