| Summary: | "Append newline at the end of file on save" option does not work | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Eugene Shalygin <eugene.shalygin+bugzilla.kde> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Eugene Shalygin
2019-07-31 10:52:09 UTC
(In reply to Eugene Shalygin from comment #0) The description is incorrect: saved file contains the newline at the end, it is just the editor which does not show it. That is indeed by design, and we do not have any plans to change that. Why do you think this behaviour is not confusing for a plain-text editor? Well, it does append a newline at the end of the file on save. Other editors like vim also don't necessarily show it. It doesn't make it wrong behavior. This feature btw is mostly for old compilers that require a newline at eof since otherwise the code wouldn't compile... |