Package com.intellij.psi.codeStyle

Examples of com.intellij.psi.codeStyle.CodeStyleSettings.copyFrom()


            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
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.