Pressione Ctrl + K + 0 no VSCode para recolher seções de código.
if (condition) {
# code...
}
if (condition) {
# code...
}
se tornará
+ if (condition) {...
}
+ if (condition) {...
}
É possível recolher todas as seleções em uma linha como PHPSTORM?
11 $table = $dom->createElement("Item");
12 $table->setAttribute('name', $value['title']);
13 $table->setAttribute('iconUrl', $value['pic'][0]);
14 $table->setAttribute('picUrl', $value['pic2'][0]);
15 $table->setAttribute('content', $value['notes']);
Pressionando Ctrl +. em PHPSTORM. Esses códigos se tornarão
11+ ...
Tags vscode