acf-sublime-snippets
acf-sublime-snippets copied to clipboard
Can't complete snippets with colon
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.
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).