sublime text3-代码片段配置

1.Tools->New Snippet->

<snippet>
    <content><![CDATA[${1:public }function ${2:FunctionName}(${3:\$${4:value}${5:=''}})
{
    ${0:# code...}
}]]></content>
    <tabTrigger>fun</tabTrigger>
    <scope>source.php|*.* | source.js</scope>
    <description>function …</description>
</snippet>

你可能感兴趣的:(Sublime Text)