Sublime Forum

Snippet/Tab issue - WITH MOVIE

#1

Hi, the issue is shown in this short movie (20 seconds).
http://www.youtube.com/watch?v=phsHt8S4ZP0)

Sometimes I need to press more than once to trigger a snippet, sometimes just once. I dont get it…
Please help.

Thanks!

0 Likes

#2

In your User Preferences file try adding:

"auto_complete_with_fields": true,
0 Likes

#3

Thanks for the reply! I changed it in Preferences - Default, but doesn’t change anything. I disabled HTML and enabled HTML5 syntax. But that’s not the problem i guess.
Maybe some other preferences?

0 Likes

#4

[quote=“atomi”]In your User Preferences file try adding:

"auto_complete_with_fields": true,

Thanks for the reply! I changed it in Preferences - Default, but doesn’t change anything. I disabled HTML and enabled HTML5 syntax. But that’s not the problem i guess.
Maybe some other preferences?

0 Likes

#5

I don’t know. I thought that you were in an input field but I watched the movie again and I can’t really tell you why the completions aren’t working. Do they work anywhere else outside of the body tags? Maybe it has to do with having changed the syntax to html5…

Another thing to try is to check the scope you are in when completions aren’t working by pressing cmd+alt+shift+p (I believe, I don’t use Apple). After you know the scope you can compare it to the scope included in your snippets files/completions file and see if they match correctly.

0 Likes