Presionar Ctrl+Mayús+P para abrir la barra de comandos y escribir Tag HTML , Tag PHP , Tag CSS ó Tag JS .
Snippets
HTML
_php
<?php ?>
_php=
<?= ?>
PHP
_query_paramas
$sql = "";
$params = array();
$result = $Base->query_params($Base->conn, $sql, $params);
$error = $Base->last_error($Base->conn);
if ($error != ''){
throw new Exception($error);
}
while($row = $Base->to_object($result)){
print_r($row);
}
_php_error
/**ERRORES PHP VISIBLES**/
error_reporting(E_ALL);
ini_set('display_errors', '1');
_dblink
SELECT
dato
FROM dblink(
dblink,
'query'
) AS x(
dato tipo_dato
);
JavaScript
_dump
console.log('${1}', ${1});
_send
var ${1:params} = '&${2:id=}';
var ${3:RS} = ${4:BD}.send('cmd=${5:comando}'+${1:params});
if(${3:RS}.error != ''){
throw ${3:RS}.error;
}
${0}
| |