[Qt-creator] Beautifier Plugin Addition
Eike Ziller
Eike.Ziller at qt.io
Mon Aug 29 09:41:36 CEST 2016
> On Aug 29, 2016, at 8:29 AM, Typz <thetypz at gmail.com> wrote:
>
> Hello,
>
> I think are actually 2 topics here:
> 1- automatically running beautifiers on save or commit (and possibly other conditions?)
That part is available (on save) in 4.1.
> 2- supporting 'generic' beautifiers, e.g. running any command line tool to update a file
>
> First option would be really great, as it would make beautifier-based workflows much more seamless.
>
> Second option is somewhat redundant with external tools, but would allow better integration, like all the other beautifiers; esp. if first topic is implemented.
>
> Best regards,
>
> --
> Francois
>
> On 26 août 2016, at 16:37, Pendleton, Corey <Corey.Pendleton at garmin.com> wrote:
>
>> 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
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Eike Ziller
Principal Software Engineer
The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
More information about the Qt-creator
mailing list