Update .gitreview for stable/beryllium
[nemo.git] / nemo-tools / eclipse-plugin / nemo-editor / org.opendaylight.nemo.tool.eclipse.plugin.editor / bin / org / opendaylight / nemo / tool / eclipse / plugin / formatting / EditorFormatter.xtend
1 /*
2  * generated by Xtext
3  */
4 package org.opendaylight.nemo.tool.eclipse.plugin.formatting
5
6 import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
7 import org.eclipse.xtext.formatting.impl.FormattingConfig
8 // import com.google.inject.Inject;
9 // import org.opendaylight.nemo.tool.eclipse.plugin.services.EditorGrammarAccess
10
11 /**
12  * This class contains custom formatting declarations.
13  * 
14  * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting
15  * on how and when to use it.
16  * 
17  * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example
18  */
19 class EditorFormatter extends AbstractDeclarativeFormatter {
20
21 //      @Inject extension EditorGrammarAccess
22         
23         override protected void configureFormatting(FormattingConfig c) {
24 // It's usually a good idea to activate the following three statements.
25 // They will add and preserve newlines around comments
26 //              c.setLinewrap(0, 1, 2).before(SL_COMMENTRule)
27 //              c.setLinewrap(0, 1, 2).before(ML_COMMENTRule)
28 //              c.setLinewrap(0, 1, 1).after(ML_COMMENTRule)
29         }
30 }