summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAiden Storey <git@storey.dev>2024-01-12 00:32:13 -0500
committerAiden Storey <git@storey.dev>2024-05-02 22:57:34 -0400
commitb4c1634b52f619ca8987b67ecee2640310781aa7 (patch)
tree592faafc74fefb2dfb3e4a5ff4d8e63fb2e52513 /doc
parentd4f726f3ef21cef3e7936b2c9770cdac6478b8ee (diff)
downloadredot-engine-b4c1634b52f619ca8987b67ecee2640310781aa7.tar.gz
Implement trim_final_newlines functionality
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/EditorSettings.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml
index 93a7b09fce..c161a66ad8 100644
--- a/doc/classes/EditorSettings.xml
+++ b/doc/classes/EditorSettings.xml
@@ -1012,6 +1012,9 @@
<member name="text_editor/behavior/files/restore_scripts_on_load" type="bool" setter="" getter="">
If [code]true[/code], reopens scripts that were opened in the last session when the editor is reopened on a given project.
</member>
+ <member name="text_editor/behavior/files/trim_final_newlines_on_save" type="bool" setter="" getter="">
+ If [code]true[/code], trims all empty newlines after the final newline when saving a script. Final newlines refer to the empty newlines found at the end of files. Since these serve no practical purpose, they can and should be removed to make version control diffs less noisy.
+ </member>
<member name="text_editor/behavior/files/trim_trailing_whitespace_on_save" type="bool" setter="" getter="">
If [code]true[/code], trims trailing whitespace when saving a script. Trailing whitespace refers to tab and space characters placed at the end of lines. Since these serve no practical purpose, they can and should be removed to make version control diffs less noisy.
</member>