Visual Studio Code: Enable Word Wrap For All Files

Updated: September 2, 2023 By: Augustus Post a comment

If you are tired of pressing Alt + Z (Windows) or Option + Z (macOS) each time you want to turn on Word Wrap in Visual Studio Code, the steps listed below will help you.

1. Go to:

  • Windows: File > Preferences > Setting (shortcuts: Ctrl + ,).
  • MacOS: Code > Settings… > Settings (shortcuts: Cmd + ,).

2. Type “word wrap” into the search field and you will see the search results immediately. Head to the Editor: Word Wrap section:

3. Select on from the drop-down:

Done. Your settings will be saved automatically. From now on, all documents opened by Visual Studio Code will wrap text and code by default.

Further reading:

You can also check out our Visual Studio Code topic page for more tips and tricks to improve your producibility and coding experience.

Notify of
Inline Feedbacks
View all comments

Related Articles