Formatting Issue in Java: Aligning Labels and Keywords on the Same Line
已回答
How can I format my code so that the labels and keywords are on the same line instead of wrapping to the next line? Currently, it looks like this:

I would like it to look like this:

请先登录再写评论。
I've created a feature request for this: https://youtrack.jetbrains.com/issue/IDEA-364454/Support-Aligning-Labels-and-Keywords-on-the-Same-Line
Please check if it covers all your needs and vote for it, thanks.