Skip to content

Wrap with snippet support #1372

@gtm-nayan

Description

@gtm-nayan

Is your feature request related to a problem? Please describe.
I sometimes write something out and then later have to put it inside an if check, currently I put the starting tag for the if block. Navigate to the end of what I want to wrap and insert the ending tag.

Describe the solution you'd like
VSCode 1.64 introduced surround with snippet support for JS and TS [link]. It'd be nice to have something similar for svelte.

Additional context
Currently the Insert snippet command only lists custom snippets by the user, the snippets from the extension don't show up there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.feature requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions