Skip to content

Commit

Permalink
Added .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
kike-garbo committed Nov 8, 2018
1 parent e12db05 commit 2282a00
Show file tree
Hide file tree
Showing 27 changed files with 57 additions and 43 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
@@ -0,0 +1,14 @@
root = true

[*]
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{h,c,cpp,cs,vb,js}]
indent_style = space
indent_size = 2

[*.py]
indent_style = space
indent_size = 4
2 changes: 1 addition & 1 deletion Autodesk/AutoCAD/Commands.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Autodesk/AutoCAD/Commands.cs
@@ -1,4 +1,4 @@
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
Expand Down
2 changes: 1 addition & 1 deletion Autodesk/AutoCAD/Plugin.cs
@@ -1,4 +1,4 @@
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Runtime;
using System;
using System.IO;
Expand Down
2 changes: 1 addition & 1 deletion Autodesk/AutoCAD/Properties/AssemblyInfo.cs
@@ -1,4 +1,4 @@
using System.Reflection;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
2 changes: 1 addition & 1 deletion Autodesk/Revit/Convert.cs
@@ -1,4 +1,4 @@


using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
2 changes: 1 addition & 1 deletion Autodesk/Revit/Properties/AssemblyInfo.cs
@@ -1,4 +1,4 @@
using System.Reflection;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

Expand Down
2 changes: 1 addition & 1 deletion Autodesk/Revit/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Autodesk/Revit/Properties/Resources.resx
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down Expand Up @@ -117,4 +117,4 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
</root>
4 changes: 2 additions & 2 deletions Autodesk/Revit/Properties/RhinoInside.Revit.addin
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<RevitAddIns>
<AddIn Type="Application">
<Name>Rhino Inside Revit</Name>
Expand All @@ -8,4 +8,4 @@
<VendorId>RMA</VendorId>
<VendorDescription>Robert McNeel &amp; Associates</VendorDescription>
</AddIn>
</RevitAddIns>
</RevitAddIns>
10 changes: 5 additions & 5 deletions Autodesk/Revit/RhinoInside.Revit.csproj
Expand Up @@ -104,17 +104,17 @@
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Sample4.cs" />
<None Include="Properties\RhinoInside.Revit.addin" />
<None Include="README.md" />
<Compile Include="Convert.cs" />
<Compile Include="Revit.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Sample1.cs" />
<None Include="Sample2.ghx" />
<None Include="Sample3.ghx" />
Expand Down
2 changes: 1 addition & 1 deletion Autodesk/Revit/Sample1.cs
@@ -1,4 +1,4 @@
using System;
using System;
using System.Reflection;
using System.IO;
using System.Collections.Generic;
Expand Down
4 changes: 2 additions & 2 deletions Autodesk/Revit/Sample2.ghx
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Archive name="Root">
<!--Grasshopper archive-->
<!--Grasshopper and GH_IO.dll are copyrighted by Robert McNeel & Associates-->
Expand Down Expand Up @@ -387,4 +387,4 @@
</items>
</chunk>
</chunks>
</Archive>
</Archive>
4 changes: 2 additions & 2 deletions Autodesk/Revit/Sample3.ghx
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Archive name="Root">
<!--Grasshopper archive-->
<!--Grasshopper and GH_IO.dll are copyrighted by Robert McNeel & Associates-->
Expand Down Expand Up @@ -1065,4 +1065,4 @@ using RhinoInside.Revit;
</items>
</chunk>
</chunks>
</Archive>
</Archive>
2 changes: 1 addition & 1 deletion Autodesk/Revit/Sample4.cs
@@ -1,4 +1,4 @@
using System;
using System;
using System.Reflection;
using System.Diagnostics;
using System.IO;
Expand Down
4 changes: 2 additions & 2 deletions Autodesk/Revit/Sample4.ghx
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Archive name="Root">
<!--Grasshopper archive-->
<!--Grasshopper and GH_IO.dll are copyrighted by Robert McNeel & Associates-->
Expand Down Expand Up @@ -1065,4 +1065,4 @@
</items>
</chunk>
</chunks>
</Archive>
</Archive>
2 changes: 1 addition & 1 deletion Bricsys/BricsCAD/Commands.cs
@@ -1,4 +1,4 @@
using Bricscad.ApplicationServices;
using Bricscad.ApplicationServices;
using Teigha.DatabaseServices;
using Teigha.Geometry;
using Teigha.Runtime;
Expand Down
2 changes: 1 addition & 1 deletion Bricsys/BricsCAD/PlugIn.cs
@@ -1,4 +1,4 @@
using Bricscad.ApplicationServices;
using Bricscad.ApplicationServices;
using System;
using System.IO;
using System.Reflection;
Expand Down
2 changes: 1 addition & 1 deletion Bricsys/BricsCAD/Properties/AssemblyInfo.cs
@@ -1,4 +1,4 @@
using System.Reflection;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
10 changes: 5 additions & 5 deletions Bricsys/BricsCAD/RhinoInside.BricsCAD.csproj
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand Down Expand Up @@ -33,11 +33,11 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="BrxMgd">
<HintPath>..\..\..\..\..\..\Program Files\Bricsys\BricsCAD V18 en_US\BrxMgd.dll</HintPath>
<HintPath>C:\Program Files\Bricsys\BricsCAD V18 en_US\BrxMgd.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RhinoCommon">
<HintPath>..\..\..\..\..\..\Program Files\Rhino WIP\System\RhinoCommon.dll</HintPath>
<HintPath>C:\Program Files\Rhino WIP\System\RhinoCommon.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -49,7 +49,7 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="TD_Mgd">
<HintPath>..\..\..\..\..\..\Program Files\Bricsys\BricsCAD V18 en_US\TD_Mgd.dll</HintPath>
<HintPath>C:\Program Files\Bricsys\BricsCAD V18 en_US\TD_Mgd.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
Expand All @@ -59,4 +59,4 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
</Project>
4 changes: 2 additions & 2 deletions ConsoleApps/HelloWorld/App.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
</configuration>
</configuration>
4 changes: 2 additions & 2 deletions ConsoleApps/HelloWorld/HelloWorld.csproj
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand Down Expand Up @@ -50,4 +50,4 @@
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
</Project>
2 changes: 1 addition & 1 deletion ConsoleApps/HelloWorld/Program.cs
@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using System.Reflection;

Expand Down
2 changes: 1 addition & 1 deletion ConsoleApps/HelloWorld/Properties/AssemblyInfo.cs
@@ -1,4 +1,4 @@
using System.Reflection;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

Expand Down
4 changes: 2 additions & 2 deletions ConsoleApps/HelloWorldVB/App.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
</configuration>
</configuration>
4 changes: 2 additions & 2 deletions ConsoleApps/HelloWorldVB/Module1.vb
@@ -1,5 +1,5 @@
Module Module1
Module Module1
Sub Main()
HelloWorld.Program.Main(Nothing)
End Sub
End Module
End Module
2 changes: 1 addition & 1 deletion ConsoleApps/HelloWorldVB/Program.vb
@@ -1,4 +1,4 @@
Imports System
Imports System
Imports System.IO
Imports System.Reflection
Imports Rhino.Runtime.InProcess
Expand Down

0 comments on commit 2282a00

Please sign in to comment.