3

Visual-Studio-Code has the ability to beautify html/js code. I read that it is based on js-beautify. Can I add certain parameters to my settings.json to configure the beautifier? I.e. I would like to change the --wrap-line-length parameter of js-beautify.

1 Answer 1

4

Just found the answer here: https://code.visualstudio.com/updates/vMarch

I had to add this line to settings.json in VScode to switch of beautifier's line wrap:

"html.format.wrapLineLength":-1
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.