Bug 419098

Summary: Remove trailing spaces per file type
Product: [Applications] kate Reporter: Peter Tselios <ptselios>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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?