vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

Automatically add ":" or {} after IF ELSE

Open Shababsoft opened this issue 3 years ago • 1 comments

Please can you provide a formatting feature that automatically adds {} or ":" to the IF ELSE condition?

Example:

if ($condition) // Some code else // Some code

After formatting:

if ($condition) { // Some code } else { // Some code }

Shababsoft avatar Jun 21 '21 20:06 Shababsoft