Option for spaces inside parentheses? #7
-
Can an option be added to allow for spaces at the beginning and end of parentheses, in the WordPress PHP style? I do this to keep my code consistent between PHP, JS, and SCSS. For example: Instead of this: This: Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The formatter relies on prettier for formatting, and prettier doesn't have such option. And highly doubt that they won't be adding this now. So it is not possible to do that. |
Beta Was this translation helpful? Give feedback.
-
Ah, gotcha. Thanks anyway. |
Beta Was this translation helpful? Give feedback.
The formatter relies on prettier for formatting, and prettier doesn't have such option. And highly doubt that they won't be adding this now. So it is not possible to do that.