Skip to content

Commit

Permalink
added nrefactory + cecil as submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
nosami committed Apr 10, 2014
1 parent 1d7c216 commit 71dfd1b
Show file tree
Hide file tree
Showing 28 changed files with 12 additions and 12,532 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "NRefactory"]
path = NRefactory
url = https://github.com/icsharpcode/NRefactory.git
[submodule "cecil"]
path = cecil
url = https://github.com/jbevain/cecil.git
1 change: 1 addition & 0 deletions NRefactory
Submodule NRefactory added at 3f78bd
6 changes: 3 additions & 3 deletions OmniSharp/CodeFormat/CodeFormatHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ public CodeFormatResponse Format(CodeFormatRequest request)
options.WrapLineLength = 80;
options.TabsToSpaces = request.ExpandTab;
var policy = FormattingOptionsFactory.CreateAllman();
policy.BlankLinesAfterUsings = 1;
policy.BlankLinesBetweenTypes = 1;
policy.BlankLinesBetweenMembers = 1;
policy.MinimumBlankLinesAfterUsings = 1;
policy.MinimumBlankLinesBetweenTypes = 1;
policy.MinimumBlankLinesBetweenMembers = 1;
var formatter = new CSharpFormatter(policy, options);
formatter.FormattingMode = FormattingMode.Intrusive;
var output = formatter.Format(request.Buffer);
Expand Down
2 changes: 1 addition & 1 deletion OmniSharp/OmniSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,4 @@
</Target>
-->
<ItemGroup />
</Project>
</Project>
1 change: 1 addition & 0 deletions cecil
Submodule cecil added at 477095
Binary file removed packages/ICSharpCode.NRefactory.5.3.0/.DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
5,778 changes: 0 additions & 5,778 deletions packages/ICSharpCode.NRefactory.5.3.0/lib/Net40/ICSharpCode.NRefactory.xml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed packages/Mono.Cecil.0.9.5.4/lib/sl40/Mono.Cecil.dll
Binary file not shown.

0 comments on commit 71dfd1b

Please sign in to comment.