Skip to content

Improve nested snippet #5424

@A4-Tacks

Description

@A4-Tacks

Is your feature request related to a problem? Please describe.
Improve the jumping of nested code snippets:

snippet foo b
solid ${1:this.$2} $3;
endsnippet

| is cursor

input foo snippet:

solid |this.| ;

Input some text:

solid some text| ;

jump next snippet:

solid some text| ;

expect:

solid some text |;

Describe the solution you'd like
Skip nested placeholders in placeholders when they are replaced

Describe alternatives you've considered
It seems to behave as expected in an some older version

Additional context
None

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