intellij-12

IntelliJ IDEA seems to be ignoring code formatting

与世无争的帅哥 提交于 2019-12-20 02:06:22
问题 I've been attempting to get my Intellij IDEA to confirm to a google-like Java standard - however both imports and manual settings seem to be ignored. Here's how my indentations are currently set: However my code still formats at 4 spaces, and when I reformat it goes to 4 spaces as well. Thanks in advance! 回答1: This is the setting for your GoogleStyle scheme. But your project most likely doesn't use it. It's not enough to just select it in the combobox. You need to import this scheme into your