When typing a long string in Sublime Text, how does one indent the string so it is easier to read?

StackOverflow https://stackoverflow.com/questions/20375073

  •  29-08-2022
  •  | 
  •  

Question

I want to type a paragraph and I don't want to scroll left and right to read it.

Was it helpful?

Solution

In Preferences -> Settings - User, set the following:

"word_wrap": true,
"wrap_width": 0

This turns on word wrap for however wide your window is. If you want to wrap at a certain place, such as column 80, set "wrap_width" to that number.

All general Sublime settings (those not related to plugins) can be found by browsing through Preferences -> Settings - Default. Make sure you make any changes in Preferences -> Settings - User, though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top