vscode-blade-formatter
vscode-blade-formatter copied to clipboard
[Formatting Bug]: spaces contained in string are broken up when wrapping text.
Platform
Windows
Template before formatting
@canany([
'Lorem ipsum dolor sit amet',
'consectetur adipiscing elit',
'Phasellus magna urna',
'fermentum sit amet lectus nec',
'aliquet finibus velit',
])
@endcan
Template after formatting
@canany(['Lorem ipsum dolor sit amet', 'consectetur adipiscing elit', 'Phasellus magna urna', 'fermentum sit amet lectus
nec', 'aliquet finibus velit'])
@endcan
Expected Behaviour
The spaces contained inside strings should not be broken up. There are multiple ways of formatting this, but the whitespace in strings should be retained as it.
Relevant log output
No response
Thanks for the report! It should be fixed. I'll look into it.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days