Search in sources :

Example 1 with CssCodeStyleSettings

use of com.intellij.psi.css.codeStyle.CssCodeStyleSettings in project intellij-plugins by JetBrains.

the class FlexCssCompletionTest method setUp.

@Override
protected void setUp() throws Exception {
    VfsRootAccess.allowRootAccess(getTestRootDisposable(), urlToPath(convertFromUrl(FlexSchemaHandler.class.getResource("z.xsd"))), urlToPath(convertFromUrl(FlexStylesIndexableSetContributor.class.getResource("FlexStyles.as"))));
    super.setUp();
    myAfterCommitRunnable = null;
    CodeStyleSettings globalSettings = CodeStyleSettingsManager.getSettings(getProject());
    CssCodeStyleSettings settings = globalSettings.getCustomSettings(CssCodeStyleSettings.class);
    settings.SPACE_AFTER_COLON = false;
    CamelHumpMatcher.forceStartMatching(getTestRootDisposable());
}
Also used : CssCodeStyleSettings(com.intellij.psi.css.codeStyle.CssCodeStyleSettings) CodeStyleSettings(com.intellij.psi.codeStyle.CodeStyleSettings) CssCodeStyleSettings(com.intellij.psi.css.codeStyle.CssCodeStyleSettings) FlexSchemaHandler(com.intellij.javascript.flex.mxml.schema.FlexSchemaHandler) FlexStylesIndexableSetContributor(com.intellij.javascript.flex.css.FlexStylesIndexableSetContributor)

Aggregations

FlexStylesIndexableSetContributor (com.intellij.javascript.flex.css.FlexStylesIndexableSetContributor)1 FlexSchemaHandler (com.intellij.javascript.flex.mxml.schema.FlexSchemaHandler)1 CodeStyleSettings (com.intellij.psi.codeStyle.CodeStyleSettings)1 CssCodeStyleSettings (com.intellij.psi.css.codeStyle.CssCodeStyleSettings)1