Disable auto line break in VS Code

hejliang

Liang Wang

Posted on February 19, 2024

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

💖 💪 🙅 🚩
hejliang
Liang Wang

Posted on February 19, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related