Skip to content

Is there anyway to add padding to the last line of the code #23

Answered by tajmone
nibin-matteo-git asked this question in Q&A
Discussion options

You must be logged in to vote

Is there anyway to increase the padding for the last line alone.

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:

insert_final_newline = true

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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nibin-matteo-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants