Home Download Buy Blog Forum Support

Restrictive scope in a snippet?

Restrictive scope in a snippet?

Postby cwolves on Wed Oct 24, 2012 2:07 am

I see the following line in the preferences:

Code: Select all
"auto_complete_selector": "source - comment"


That means "scope = source, but not comment". If I try to put this same thing in the
Code: Select all
<scope></scope>
of a snippet, it doesn't work. Does anyone know how to restrict a snippet this same way?
cwolves
 
Posts: 12
Joined: Thu Jan 12, 2012 9:01 pm

Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 31 guests