rchl wrote:Question regarding initial post. What's really the difference between snippets/completions? Linked doc just briefly mentions "They can be thought of as a more flexible way to insert snippets." Are completions just snippets that can be defined in more compact way? Are they more limited than snippets or they provide same functionality?
rchl wrote:I see that some snippets use {${0:$TM_SELECTED_TEXT}} variable for example. Is it possible to use them in completions? I think this does not really work right now in sublime2 so can't even test.
indiver wrote:@guillermooo
Thanks that is a good explanation. I think I understand. However, can I put in a request for some more examples on the completions page. It would make it easier to follow. Also, if there is an example showing a completion based on a TextMate snippets. Will make it easier for people to understand what is going (esp. people like me who are coming from TextMate and want to do more in Sublime).
Users browsing this forum: No registered users and 8 guests