Bug 406109

Summary: Run on save (auto-format hook)
Product: [Applications] kate Reporter: Wouter Van Hemel <wouter-kde>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: christ.derek, waqar.17a
Priority: NOR    
Version First Reported In: 18.12.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 22.04
Sentry Crash Report:

Description Wouter Van Hemel 2019-04-01 09:59:28 UTC
It would be nice to be able to run an auto-formatter on save for several languages. I don't think there's a way to execute something as a hook when saving a file. This hook should probably be a property of the "file type" and Kate should avoid "file has changed on disk" warnings but re-read the file automatically if such a hook has been set.
Comment 1 Waqar Ahmed 2022-01-16 16:41:12 UTC
*** Bug 442469 has been marked as a duplicate of this bug. ***