First click on File=> Preferences=> Settings;
Then find the word wrap option under the Text Editor column and set it to ON. .
The above is the detailed content of How to set code to automatically wrap in vscode. For more information, please follow other related articles on the PHP Chinese website!