[feature request] Add fields dynamically #279

Closed
werehuman opened this Issue Aug 8, 2012 · 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.

@joaotavora
Owner

Merging with #295.

@joaotavora joaotavora closed this Aug 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment