phpstorm format javascript code example
Example 1: code formatter => phpstorm like vscode
Extension Alignment
( https://marketplace.visualstudio.com/items?itemName=annsk.alignment )
Step 1 : select text
Step 2 : alt + =
Example 2: phpstorm prettier
Ubuntu/Windows:
Ctrl + Alt + Shift + L
Mac:
Command + Alt + Shift + L
For full page code reformat Alt + Command + L