Package io.emmet.eclipse.preferences.output

Examples of io.emmet.eclipse.preferences.output.OutputProfile


    store.setDefault(PreferenceConstants.P_TAB_EXPAND, true);
    setupDefaultOutputProfiles();
  }
 
  private void setupDefaultOutputProfiles() {
    OutputProfile html = new OutputProfile();
   
    OutputProfile xml = new OutputProfile();
    xml.setTagCase(OutputProfile.LEAVE);
    xml.setAttrCase(OutputProfile.LEAVE);
    xml.setTagNewline(OutputProfile.TRUE);
    xml.setSelfClosing(OutputProfile.TRUE);
   
    setupOutputPrefrences("default", html);
    setupOutputPrefrences("html", html);
    setupOutputPrefrences("css", html);
   
    html.setFilters("haml");
    setupOutputPrefrences("haml", html);
   
    setupOutputPrefrences("xml", xml);
   
    xml.setFilters("html, xsl");
    setupOutputPrefrences("xsl", xml);
  }
View Full Code Here


    store.setDefault(PreferenceConstants.P_TAB_EXT, "html, xml, xsl, xsd, css, php, tpl, less, styl, scss, sass, jade, haml, hbs, twig");
    setupDefaultOutputProfiles();
  }
 
  private void setupDefaultOutputProfiles() {
    OutputProfile html = new OutputProfile();
   
    OutputProfile xml = new OutputProfile();
    xml.setTagCase(OutputProfile.LEAVE);
    xml.setAttrCase(OutputProfile.LEAVE);
    xml.setTagNewline(OutputProfile.TRUE);
    xml.setSelfClosing(OutputProfile.TRUE);
   
    setupOutputPrefrences("default", html);
    setupOutputPrefrences("html", html);
    setupOutputPrefrences("css", html);
   
    html.setFilters("haml");
    setupOutputPrefrences("haml", html);
   
    setupOutputPrefrences("xml", xml);
   
    xml.setFilters("html, xsl");
    setupOutputPrefrences("xsl", xml);
  }
View Full Code Here

TOP

Related Classes of io.emmet.eclipse.preferences.output.OutputProfile

Copyright © 2018 www.massapicom. 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.