Bug 406109 - Run on save (auto-format hook)
Summary: Run on save (auto-format hook)
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 18.12.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 442469 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-01 09:59 UTC by Wouter Van Hemel
Modified: 2022-01-26 05:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 22.04
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***