-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
I have exactly the same problem as @CheIIau: I can't align attributes of neither native HTML elements nor Vue components as seen in the official docs. My configuration for Visual Studio Code is: "html.format.wrapAttributes": "force-expand-multiline",
"[vue]": {
"editor.defaultFormatter": "johnsoncodehk.volar",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
},
"workbench.editor.splitInGroupLayout": "vertical" |
Beta Was this translation helpful? Give feedback.
-
You could try given a smaller |
Beta Was this translation helpful? Give feedback.
-
Maybe you need this in "html.format.wrapAttributes": "force-aligned" |
Beta Was this translation helpful? Give feedback.
-
may be it is a stupid question ... but ... Can anybody help me how to avoid, prevent volar from wrapping attibutes per line using volar as a formatter? |
Beta Was this translation helpful? Give feedback.
Maybe you need this in
setting.json
: