SmachDSLFormatter.java
Go to the documentation of this file.
00001 /*
00002  * generated by Xtext
00003  */
00004 package org.best.of.robotics.formatting;
00005 
00006 import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter;
00007 import org.eclipse.xtext.formatting.impl.FormattingConfig;
00008 
00017 public class SmachDSLFormatter extends AbstractDeclarativeFormatter {
00018         
00019         @Override
00020         protected void configureFormatting(FormattingConfig c) {
00021 // It's usually a good idea to activate the following three statements.
00022 // They will add and preserve newlines around comments
00023 //              c.setLinewrap(0, 1, 2).before(getGrammarAccess().getSL_COMMENTRule());
00024 //              c.setLinewrap(0, 1, 2).before(getGrammarAccess().getML_COMMENTRule());
00025 //              c.setLinewrap(0, 1, 1).after(getGrammarAccess().getML_COMMENTRule());
00026         }
00027 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Wed Aug 14 2013 10:06:09