Is there anyway to add padding to the last line of the code #23
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'm not aware of any such option. Also, this week Sublime Text updated to version 4, and I hadn't time to check all the new options that were added. Usually I configure my projects' EditorConfig settings to ensure that all source files have an empty line at the end of the file:
with that setting in place, Sublime Text will automatically add the empty line at save time, which solves the problem altogether. Adding an empty line at the end of a source file is considered good practice, unless the file format doesn't allow it. For PML projects, we always add the final newline. As for Sublime Text settings, you can always open the Preferences » Settings menu, which will open both the default and user settings in a new editor instance. The default settings file contains all the available options, either commented out or with actually settings, and usually with an explicatory comment too. If there isn't a dedicated option there then there probably isn't one (which I suspect is the case, since all I can see are settings for line spacing, but no page margin settings). |
Beta Was this translation helpful? Give feedback.
I'm not aware of any such option. Also, this week Sublime Text updated to version 4, and I hadn't time to check all the new options that were added.
Usually I configure my projects' EditorConfig settings to ensure that all source files have an empty line at the end of the file:
with that setting in place, Sublime Text will automatically add the empty line at save time, which solves the problem altogether. Adding an empty line at the end of a source file is considered good practice, unless the file format doesn't allow it. For PML projects, we always add the final newline.
As for Sublime Text se…