You can automatically fix code formatting in a file by pressing Ctrl-Alt-L/Cmd-Alt-L. #WebStormTippic.twitter.com/tQSZKyiZIu
-
-
Replying to @WebStormIDE
Why is Prettier on its own special default binding at Ctrl + Shift + Alt + P? For projects with Prettier included, can we get it as an engine for the Ctrl + Alt + L formatting shortcut?
1 reply 0 retweets 1 like -
Replying to @AntonyDerham @WebStormIDE
I think you can bind Ctrl Alt L can’t you? However, I still keep both because Webstorm Formatting will rearrange imports and eliminate unused imports while Prettier won’t
1 reply 0 retweets 0 likes
Replying to @Nartc1410 @AntonyDerham
Yes, you can customize shortcuts as per http://jetbrains.com/help/webstorm/configuring-keyboard-and-mouse-shortcuts.html …, including Ctrl-Alt-L
6:40 AM - 8 Nov 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.