Mutable tabstop
Asked by
pielgrzym
Hi,
I have this humble snippet:
https:/
It works by analyzing the contents of tabstop 1 - if it finds any matching brackets in tabstop 1 it adds a new argument to function parameters in tabstop2. This works fine but I cannot cycle through each newly created parameter (since all those parameters are content of one tabstop). Perhaps you could create a special tabstop type that can be mutable from within a snippet (like ${1[]} and in snippet t[1] is actually a list to which user can append/remove items and they will be converted to tabstops afterwards)?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- UltiSnips Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask pielgrzym for more information if necessary.
To post a message you must log in.