How to enable word wrap in VS Code

Open File -> Preferences -> Settings, then find the Editor: Word Wrap setting, and select the desired behaviour.

Reference: