Enable word wrap for latex files only in vscode
Solution 1:
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.