void (@NotNull Project project, PsiFile file, Language language, TextRange range) { CommonCodeStyleSettings formatSettings = CodeStyle.getLanguageSettings(file, language); boolean keepAtFirstCol = formatSettings.KEEP_FIRST_COLUMN_COMMENT; formatSettings.KEEP_FIRST_COLUMN_COMMENT = false; CodeStyleManager.getInstance(project).adjustLineIndent(file, range); formatSettings.KEEP_FIRST_COLUMN_COMMENT = keepAtFirstCol; }