Hello,

I think are actually 2 topics here:
1- automatically running beautifiers on save or commit (and possibly other 
conditions?)
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 <[email protected]> 
> 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
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to