Code formatting for switch. Space between case and ''

已回答

I rely on code reformatting to get everything into pretty format, after I finish my messy coding I hit CMD+OPTION+L and it magically becomes up to standard for the project.  I love that.  Except for switch

If I forget to leave a space inbetween case and the '' its not reformatted for me:

 

The above screenshot is a switch statement AFTER a code reformat.  Nothing is done to the space after the case word.  I would like it if code reformat did put a space after case and before the '.

 

Is there any way to currently make this happen?  Thanks.

 

0

That's a known issue: https://youtrack.jetbrains.com/issue/WI-33771 - please give it a vote or a comment in order to refresh it's status & get notified about its updates.

0

请先登录再写评论。