Hello! I am trying to figure out how to centre a line of text in Sublime Text. I go through all of the menu options but I cannot find an option for doing this. Any help would be greatly appreciated!
Centreing text in Sublime Text
gbird
#2
HI @jabbafett1988. Sublime Text is a code editor and is not intended to be a Rich Text Editor for layout and design. In a Code editor, Centre doesn’t really make sense. It doesn’t have a fixed width - Unlike, say MSWord which is based on the fixed width of an A4 document.
In many programming language such as Python, white space matters and the indent level defines the function of the code. If you were to centre this (whatever that means) the code would break.
If you are seeking a Rich Text Editor that provides layout and design, I would try MSWord, Google Docs, Textedit or any of a number of purpose-built RTF editors
1 Like