【发布时间】:2016-01-24 11:29:09
【问题描述】:
我刚刚为 PHP Wordpress 循环创建了 sublime text sn-p。但是当我按 Tab 时它没有触发。
<snippet>
<content><![CDATA[
if(have_posts()): ?>
<?php while(have_posts()): ?>
<?php the_post(); ?>
<?php the_title(); ?>
<?php endwhile; ?>
<?php endif; ?>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>wp_loop</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
【问题讨论】:
标签: php wordpress sublimetext3