void () { CommonCodeStyleSettings common = mySettings.getCommonSettings(JavaLanguage.INSTANCE); CommonCodeStyleSettings.IndentOptions indentOptions = common.getIndentOptions(); assert indentOptions != null; indentOptions.INDENT_SIZE = 1; indentOptions.TAB_SIZE = 2; indentOptions.CONTINUATION_INDENT_SIZE = 2; myFixture.configureByText(JavaFileType.INSTANCE, """ public class T { \tvoid run() { \t\tint a = 2 <caret>+ 2; \t} } """); myFixture.type('\n'); myFixture.checkResult(""" public class T { \tvoid run() { \t\tint a = 2\s \t\t\t\t<caret>+ 2; \t} } """); }