Sublime Forum

Scope issues with CSS snippet

#1

I commonly have problems dealing with the scope and snippets in Sublime. I’d like to start sharing more of my issues and hope that they can be resolved. One issue w/ CSS is with a ‘reset’ snippet I’ve created. It seems that in order to launch a snippet in CSS, you need to be within the curly braces. I’ve posted a video to view the issue here:
http://www.screencast.com/users/n00ge/folders/Jing/media/a76b8b60-916f-4b83-a269-f4be912d8e11

Let me know if there’s anything I can do to fix this. If not, it’d be great to have an update to fix it. Thanks.

0 Likes

#2

What scope are you using in your snippet?

EDIT: just read sublimator’s response and noticed he asked exactly the same question, doh

0 Likes

#3

I’m using a sublime-snippet that’s saved in the CSS package. The source is available here:
pastie.org/938242

The scope is set to source.css. There isn’t a binding setup for it.

0 Likes