0
は私が持っている崇高なテキスト内の別のコードスニペットの後に正常に実行されません。私は崇高3.PHPのコードスニペットは、3
クラスで作成したPHPクラスとコンストラクタスニペット
snippet>
<content><![CDATA[
class ${1}
{
${2}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet
-->
<tabTrigger>cla</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger --
>
<scope>source.php</scope>
</snippet>
コンストラクタ
<snippet>
<content><![CDATA[
public function __construct(${1})
{
${2}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>_c</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
は、ここで私は時にコードスニペットを達成しようとしていますものですトリガーされます。
class Person
{
public function __construct()
{
}
}
代わりに私は、コンストラクタスニペットがトリガされませんクラスのスニペットを使用すると、カーソルがそのようなクラス中括弧の最後に移動した後:
class Person
{
_c
}//cursor is now here
それから私は行くことができますback through、_cを削除してコンストラクタトリガをもう一度打つと、すべて正常に機能します。
[コードスニペットが昇華で使用されている場合の提案はありません](https://stackoverflow.com/questions/41842405/no-suggestions-when-code-snnetsets-are-used-in-sublime)の可能な複製 –