prettier-vscode icon indicating copy to clipboard operation
prettier-vscode copied to clipboard

integration of `singleAttributePerLine` option

Open sanket-bhalerao opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. currently, prettier formats the HTML attributes on the separate lines every time print width is exceeded. i can see the singleAttributePerLine option in prettier 2.6 however I can not see the related option in prettier vscode plugin.

Describe the solution you'd like integration of singleAttributePerLine option in prettier vscode extension.

current behavior image

expected behavior image

sanket-bhalerao avatar Apr 16 '22 07:04 sanket-bhalerao

same way

Untitled

favger avatar Apr 20 '22 15:04 favger

This might help you "prettier.printWidth": 10000

saskosaurus avatar Jun 26 '22 22:06 saskosaurus

In version 9.7.0

ntotten avatar Aug 20 '22 19:08 ntotten

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Nov 19 '22 00:11 github-actions[bot]