1
ajax
yazdığım her seferinde kod eklemek için sekme düğmesi tarafından takip edilen, ama ajax yazıp sekme düğmesine bastığımda snippet için ajax
metnini silen bir snipped oluşturmaya çalışıyorum Ben ajax.sublime-parçacık olarak kaydettiğinizAjax için sublime snippet çalışmıyor
Benim pasajı düzeltebilirim nasıl
<snippet>
<content><![CDATA[
$('#${1:binder}').on("", function()
{
$.ajax({
url: ${2:url},
type: ${3:post},
success: function(data)
{
if(!data.success)
{
$('#error_message').html(data.error + alert_close).show();
}else{
$('#success_message').html(data.success + alert_close).show();
}
}
});
});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>ajax</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
?