
+5
Ukończony
Trim lines at the time of saving file
Vinay Jeurkar 14 lat temu
w Plugin announcements
•
Ostatnio zmodyfikowane przez Jon Skinner 14 lat temu •
2
You can put an ON / OFF option which will decide wheather to trim white spaces or not from each line in currently opened file at the time of saving the file.
Or you can ask user to specify characters to be trimmed at the end of the line in your Default File Preferences
e.g.
//set to true if you want to trim lines for white spaces at the time of saving file."trim_on_save": true,//specify charaters to trim. It will trim if trim_on_save option is true.
"trim_characters": " \t",
Odpowiedź

0
Odpowiedź
Ukończony
Jon Skinner 14 lat temu
The trim_trailing_white_space_on_save setting can be used for this

Above feature will help to reduce size of the file occupied by unwanted characters.

Odpowiedź
Ukończony
The trim_trailing_white_space_on_save setting can be used for this
Customer support service by UserEcho