Is it possible to create snippets for atom with variables in the prefix?
For example:
if I type: getPosts:: and tab, it should create something like this:
public static function getPosts(){
}
and put my cursor inside the function.
I allready tried
'.text.html.php':
'create public static function':
'prefix': '$1::'
'body': 'public static function $1(){\n\t${2://code...}\n}'
but this does not work.