Skip to content

VSCode auto formatter compresses each loop to single line #117

@georgebzhang

Description

@georgebzhang

{#each items as item}
{item}
{/each}

gets automatically formatted (Option + Shift + F) in VSCode to

{#each items as item}{item}{/each}

Would much prefer if the auto formatter did not compress the each loop to a single line.

OS: Macbook Pro 2018
IDE: VSCode
Plugin/Package: Svelte for VSCode

Requested to forward this issue to prettier-plugin-svelte: sveltejs/language-tools#451

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions