20

I want Visual Studio Code to "word wrap" latex files automatically, but leave other files as they are. How do I do this?

Merlijn Sebrechts
  • 1,299
  • 1
  • 10
  • 13

1 Answers1

39

You can use Language-specific settings. Add the following block in your user settings.

"[latex]": {
    "editor.wordWrap": "on"
},

To do this, open the command pallette (ctrl - shift - p), select Preferences: Configure language specific settings... and select the latex language.

configure language specific settings...

Merlijn Sebrechts
  • 1,299
  • 1
  • 10
  • 13