Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[feature request] Add fields dynamically #279

Closed
werehuman opened this Issue · 1 comment

2 participants

@werehuman

It would be great if yasnippet will provide continuous creating and appending new fields to a snippet.

For example, snippet for a tuple of strings in python. Snippet with name strtuple firstly replaced to:

('**cursor is here**')

when i press <tab> yasnippet authomatically creates new field:

('first string', '**now cursor is here**')

and so on:

('first string', 'second string', '**cursor is here**')

For finishing snippet just move cursor or press C-g.

@capitaomorte

Merging with #295.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.