void (@NotNull CodeStyleSettings settings) { CommonCodeStyleSettings.IndentOptions indentOptions = settings.getLanguageIndentOptions(ShLanguage.INSTANCE); myIndentField.setValue(indentOptions.INDENT_SIZE); myTabField.setValue(indentOptions.TAB_SIZE); myTabCharacter.setSelected(indentOptions.USE_TAB_CHARACTER); ShCodeStyleSettings shSettings = settings.getCustomSettings(ShCodeStyleSettings.class); myBinaryOpsStartLine.setSelected(shSettings.BINARY_OPS_START_LINE); mySwitchCasesIndented.setSelected(shSettings.SWITCH_CASES_INDENTED); myRedirectFollowedBySpace.setSelected(shSettings.REDIRECT_FOLLOWED_BY_SPACE); myKeepColumnAlignmentPadding.setSelected(shSettings.KEEP_COLUMN_ALIGNMENT_PADDING); myMinifyProgram.setSelected(shSettings.MINIFY_PROGRAM); myUnixLineSeparator.setSelected(shSettings.USE_UNIX_LINE_SEPARATOR); myShfmtPathSelector.setText(ShSettings.getShfmtPath()); myWarningPanel.setVisible(!ShShfmtFormatterUtil.isValidPath(ShSettings.getShfmtPath())); myErrorLabel.setVisible(false); }