How do I turn on text wrapping by default in VS Code

Yakuza picture Yakuza · Jul 25, 2016 · Viewed 44.4k times · Source

Usually when I use VS Code, very first thing I do on new document is command: "Toggle Word Wrap" or Alt+Z. I tried looking into User Settings, but I didn't find any relevant entries. Is there some way to have text wrapping 'on' for every document by default?

Answer

Katherine picture Katherine · Apr 5, 2017

The setting is now "editor.wordWrap": "on" which I set to "on" (the default is "off") and that activates word wrap on all my documents in Visual Studio Code.

See the release notes about Word Wrap changes for more info.