The text will overflow when it exceeds the display, as shown in the figure:
##Go to File>Preferences>Settings and open the settings interface , find the Editor:Word Wrap option under common settings, the default is off, just set it to on. As shown in the figure: #After the setting is completed, you can find that the automatic line wrapping function of the document has been turned on. Recommended related articles and tutorials:The above is the detailed content of How to set code to wrap automatically in vscode. For more information, please follow other related articles on the PHP Chinese website!