Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't complete snippets with colon #2

Open
paulmist opened this issue Jun 11, 2014 · 1 comment
Open

Can't complete snippets with colon #2

paulmist opened this issue Jun 11, 2014 · 1 comment

Comments

@paulmist
Copy link

When trying to tab complete a snippet with a colon, say field:date, Sublime fails to recognise the part before and after the colon as a single entity.

I'm going to go ahead and assume I'm doing something wrong, but perhaps not.

@GarySwift
Copy link

A bit late here but maybe this will help somebody else. You were probably trying to use something like field:date inside php closing tags <?php ?>.

You must do it outside the tags because the snippet will generate the php tags also. I got caught with this also.

If you are curious as to why this happens, you can edit the snippets and remove the the scope field. Now this will work anywhere (but obviously this would cause an error in your php so you wouldn't want to do that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants