double-quoted string expansion
Asked by
AbuAljori
Hello , And Thank you for making this cool plugin.
Trying to expand a snippet only if it's inside double quoted string.
this is a ruby snippet, which try to expand the '#' to '#{string}' .
snippet "\"(.+)?#\"" "String interpolation" br
#{${1:string}}
endsnippet
How can I achieve this please ? . Thank you.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- UltiSnips Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- SirVer
- Solved:
- Last query:
- Last reply:
To post a message you must log in.