My system is centos 7.6,intelephense1.3.11,vs code 1.44.1
$options = array(
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
PDO::ATTR_EMULATE_PREPARES => false
);
// Create a new PDO instanace
$pdo= new PDO($dsn, $user, $pass, $options);
$pdo->exec("set names utf8");
$groupsql = $pdo->query('SELECT * FROM lime_groups WHERE sid=' .$survey_id.' ORDER BY group_order');
$groupres = $groupsql->fetchAll(PDO::FETCH_ASSOC);
I just want to format my script by remove the blank line ,right indent.
As to above script,I ctrl+A
,and then ctrl +shift +I
,blank lines still there.
How to use intelephense
to remove blank lines when format my php script in vs code?