Browse Source

ajout des snippets pour les chaînes de langue (html et php)

master
clem 1 year ago
parent
commit
e5d7a8dfed
  1. 5
      html.json
  2. 12
      php.json

5
html.json

@ -214,6 +214,11 @@
"prefix": "ifa",
"body": "<i class=\"fa $1\"></i>$0",
"description": "<i class'fa '</i>"
},
":t": {
"prefix": "",
"body": "<:$1:$2:>$0",
"description": "<:prefixe:code:>"
}
}

12
php.json

@ -154,5 +154,15 @@
"prefix": "spip_log",
"body": "spip_log(${1},${2:\"gamuza\"});\n${0}",
"description": "SPIP fctn spip_log()"
}
},
"_T": {
"prefix": "_T",
"body": "_T('$1:$2')$0",
"description": "_T('prefixe:code')"
},
"c:t": {
"prefix": "c:t",
"body": "'$1' => '$0',",
"description": "'code' => 'traduction',"
}
}
Loading…
Cancel
Save