SmartBackspaceMode (@NotNull Language language) { SmartBackspaceMode mode = CodeInsightSettings.getInstance().getBackspaceMode(); BackspaceModeOverride override = LanguageBackspaceModeOverride.INSTANCE.forLanguage(language); if (override != null) { mode = override.getBackspaceMode(mode); } return mode; }