Bug 419098 - Remove trailing spaces per file type
Summary: Remove trailing spaces per file type
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: part (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-22 09:31 UTC by Peter Tselios
Modified: 2022-12-05 08:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Tselios 2020-03-22 09:31:16 UTC
SUMMARY
Currently, the remove training spaces has 3 options and it works quite well in general. However, nowdays, people use Markdown or Asciidoc to write their documentation and save it in various platforms like Gitlab, or Github. 

Line break in MD is entered when there are 2 spaces at the end of the line. 
However, we usually want to have the "Remove Trailing spaces" option enabled. 

Ideally, we would like to have an exception for specific file types, so when we select the "Remove Trailing Spaces" (either the whole document or modified lines only), we can select for which file types we don't want it.
Comment 1 Peter Tselios 2022-04-14 05:43:22 UTC
I cannot experience this issue anymore. 
Maybe it's time to close it?