DEV Community

Liang Wang
Liang Wang

Posted on

Disable auto line break in VS Code

To disable the auto line break in the VS code.
Are you struggling to disable the auto line break in vs code from the Prettier extension? If yes this is for you :)

Open vs code => Code => Preferences => Settings => In the search field type: Prettier
Now from the provided Prettier settings, choose the Prettier: Print Width

Image description

Screenshot
And Instead of 80, you can make it a big number. Eg: 999999
Now you don't have to worry about the line break.

link

Top comments (0)