There is a way in sublime_text
- go to tool
- new snippet
copy and pest these code *save*
as whatever name You want
<snippet>
<content><![CDATA[
interface ${1:LoaderInterface}
{
public function ${2:load($endpoint);}
}
//myLoader.php
class myLoader implements ${3:LoaderInterface}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>loader</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php - variable.other.php</scope>
</snippet>
Note:
- You can call Your snippte by typing
loader
in beet been <?php ?>
tag . 1 More thing to remember most save Your file as .php
- if you want to
call
Your snippet by Typing other Key Word
You can put that keyword in beet-been <tabTrigger>**keyword**</tabTrigger>