I’m trying to use the snippet feature in atom, and I’m basically just using the default snippet modified for the php language. Here is what I have in snippets.cson.
'.text.html.php': 'Snippet Name': 'prefix': 'hello' 'body': 'Hello World!'
The problem is that I can’t access this snippet from every php file within php tags. Am I missing something here? As I understand it, the
.text.html.php sets which file type or tag context the snippet will work in, which should hold true for all of my PHP file. The file that I have been able to use the snippets in has all PHP code throughout, but the other file has a big HTML section, but is still a PHP file type.
I had a ton of snippets a couple of days ago that worked perfectly accross multiple files, but now nothing. Any idea what could be going wrong here?