Home > Article > Development Tools > How to set automatic line wrapping in VScode
#VScode cannot automatically wrap by default after installation, and we need to configure it manually.
When the text exceeds the display, it will overflow, as shown in the figure: (Recommended learning: vscode introductory tutorial)
Text Out of range, automatic line wrapping is not allowed
Go to File>Preferences>Settings, open the settings interface, and find the Editor:Word Wrap option under common settings. The default is off, and it can be set to on. As shown in the figure:
Document out of range whether to hide the option
After the setting is completed, you can find that the automatic line wrapping function of the document has been turned on.
Complete automatic line wrapping
The above is the detailed content of How to set automatic line wrapping in VScode. For more information, please follow other related articles on the PHP Chinese website!