码迷,mamicode.com
首页 > 其他好文 > 详细

sublime work flow

时间:2016-12-04 00:13:05      阅读:233      评论:0      收藏:0      [点我收藏+]

标签:com   sublime   refresh   tab   develop   package   ref   class   cdata   

Tools -> Developer -> New Snippet

<snippet>
    <content><![CDATA[
public function ${1}()
{
    ${2}
}
]]></content>
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
    <tabTrigger>met</tabTrigger>
    <!-- Optional: Set a scope to limit where the snippet will trigger -->
    <scope>source.php</scope>
</snippet>

install package  ->  php companion

Preferences -> key bindings

[
{ "keys": ["f5"], "command": "refresh_folder_list" },    
{ "keys": ["f9"], "command": "expand_fqcn" },
{ "keys": ["f10"], "command": "find_use" },
{ "keys": ["f11"], "command": "insert_php_constructor_property" },
]

 

sublime work flow

标签:com   sublime   refresh   tab   develop   package   ref   class   cdata   

原文地址:http://www.cnblogs.com/fenle/p/6129803.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!