codeStyleSettingsManager.dropTemporarySettings();
// Prepare a new settings object, which will maintain the standard settings if no
// editorconfig settings apply
final CodeStyleSettings currentSettings = codeStyleSettingsManager.getCurrentSettings();
final CodeStyleSettings newSettings = new CodeStyleSettings();
newSettings.copyFrom(currentSettings);
// Get editorconfig settings
final String filePath = file.getCanonicalPath();
final SettingsProviderComponent settingsProvider = SettingsProviderComponent.getInstance();
final List<OutPair> outPairs = settingsProvider.getOutPairs(filePath);
// Apply editorconfig settings for the current editor