0
Hello! I enabled auto formatting, by default it saves the brackets of a class or function on the bottom line.
But I wanted him to save from all conditions too, I think it gets more beautiful and organized.
Currently:
if ($this->UsersDB->isPermission("servers_del") && !empty($serversInfos)) {
$this->ServersDB->del("id", $id);
}
Desired:
if ($this->UsersDB->isPermission("servers_del") && !empty($serversInfos))
{
$this->ServersDB->del("id", $id);
}
Someone could help out?
this is some formatting plugin or the Eslint you installed that is configured to apply the training when saving, have to remove this config in the plugin
– hugocsl
is default auto save setting by formatting the codes, but would like to customize this part.
– Renan.Pecanha
@novic, Vscode configs do not always follow the same Visualstudio scheme. This https://stackoverflow.com/a/48729755/1518921 probably solves your doubts. If anyone wishes to formulate an answer please feel free, I recommend testing first.
– Guilherme Nascimento
@Guilhermenascimento I saw wrong, I know they are totally different I will remove the signage, I thought it was visual studio the complete tool! my failure!
– novic
OK thank you so much!!! Helped a lot the link posted.
– Renan.Pecanha