laravel-blade-snippets-vscode icon indicating copy to clipboard operation
laravel-blade-snippets-vscode copied to clipboard

Another formatting issue with section + if

Open Pixney-William opened this issue 6 years ago • 4 comments

image

Pixney-William avatar Feb 26 '18 13:02 Pixney-William

I'm experiencing this as well, also does it with custom directives, its basically collapsing the code, it also ignores blank lines, and is kind of the opposite of what I would want from formatting. Super frustrating, I've disabled formatting for now.

Pushplaybang avatar Feb 27 '18 08:02 Pushplaybang

I'm seeing this issue, as well.

This: image

Becomes this:

image

mmirus avatar Mar 21 '18 20:03 mmirus

Not only that, the indentation it applies sometimes is completely wrong and breaks code collapsing, as seen here:

vscode

Thanzex avatar Mar 23 '18 11:03 Thanzex

Hi, did anyone find a fix, workaround or solution to this? Seen some hacks using BeautifyJS but not ideal. Having the above issues alongside the additional line breaks being added on every format/save underneath some directives. Thanks

michael-ow avatar Feb 07 '19 09:02 michael-ow