Am I able to configure the IntelliJ Java code formatter to keep alignment spaces within statements?

已回答

Hi everyone,

I'm wondering if I'm able to tell the formatter somehow to keep the following code as-is. Note the spaces between interface names and “extends” or variable names and “=” or before the second argument of the method call.

With every setting I tried, the formatter removes those spaces always and resets them to 1:

Am I missing something or is it simply not possible to keep those spaces?

Thanks!

0

Hello, it's not supported so far. Please file a feature request at https://youtrack.jetbrains.com/newIssue?project=IDEA  and paste the link here, I'll help assign it to our developers.

0
I've handled your issue request. Unfortunately, I cannot suggest any workaround at the moment,  sorry for the inconvenience, and thank you for using our products. Please try to vote for it to raise the priority.
0

请先登录再写评论。