• Stars
    star
    627
  • Rank 71,654 (Top 2 %)
  • Language
  • License
    MIT License
  • Created over 7 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A very generic .editorconfig file supporting .NET, C#, VB and web technologies.

.editorconfig Banner

A very generic .editorconfig file supporting the following file types:

  • C# - .cs, .csx, .cake
  • Visual Basic - .vb, vbx
  • Script - .sh, .ps1, .psm1, .bat, .cmd
  • XML - .xml, .config, .props, .targets, .nuspec, .resx, .ruleset
  • JSON - .json, .json5
  • YAML - .yml, .yaml
  • HTML - .htm, .html
  • JavaScript - .js, .jsm, .ts, .tsx, .vue
  • CSS - .css, .sass, .scss, .less, .pcss
  • SVG - .svg
  • Markdown - .md
  • Visual Studio - .sln, .csproj, .vbproj, .vcxproj, .vcxproj.filters, .proj, .projitems, .shproj
  • Makefile

.NET Code Style

Extensive code style settings for C# and VB.NET have been defined that require the latest C# features to be used. All C# related code styles are consistent with StyleCop's default styles, with the exception of the file header definition, which has been changed to a more modern format. All .NET naming conventions are consistent with the .NET Framework Design Guideline's Naming Guidelines.

What is .editorconfig?

EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems. Find out more at editorconfig.org and the Visual Studio Docs.

How do I use It?

All you have to do is drop it into the root of your project. Then any time you open a file in Visual Studio, the .editorconfig file settings will be used to help format the document and also raise warnings if your code style and formatting does not conform. For Visual Studio Code, you can install the EditorConfig for VS Code extension to get support.

How can I get it?

Download the .editorconfig file in this repository or you can install the .NET Boxed templates and use the dotnet new CLI to create a new .editorconfig file in you current directory like so:

dotnet new --install Boxed.Templates
dotnet new editorconf

More Repositories

1

Schema.NET

Schema.org objects turned into strongly typed C# POCO classes for use in .NET. All classes can be serialized into JSON/JSON-LD and XML, typically used to represent structured data in the head section of html page.
C#
586
star
2

Serilog.Exceptions

Log exception details and custom properties that are not output in Exception.ToString().
C#
503
star
3

.NET-Big-O-Algorithm-Complexity-Cheat-Sheet

Big-O complexities of common algorithms used in .NET and Computer Science.
HTML
383
star
4

Bash-Cheat-Sheet

A cheat sheet for bash commands.
369
star
5

Kubernetes-Cheat-Sheet

A cheat sheet for Kubernetes commands.
157
star
6

Serilog.Enrichers.Span

Enrich Serilog log events with properties from Open Telemetry spans.
C#
79
star
7

Helm-Cheat-Sheet

A cheat sheet for Helm commands.
73
star
8

Elysium-Extra

Elysium Extra is a library that implements Metro style for Windows Presentation Foundation (WPF) applications. This Project is a very large add-on project built on top of the Elysium SDK.
C#
67
star
9

Git-Cheat-Sheet

A cheat sheet for uncommon Git commands.
PowerShell
41
star
10

rehansaeed.github.io

Muhammad Rehan Saeed's Blog
Vue
28
star
11

Windows

Get a new Windows machine started quickly by installing everthing a developer needs.
PowerShell
17
star
12

MVVM-Design-Patterns

Showcasing the design patterns you can use alongside Model-View-ViewModel (MVVM).
C#
15
star
13

ReadOnlyDockerTest

Repro for using --read-only flag in Docker with ASP.NET Core
C#
10
star
14

OrleansAdventure

Demo project using Microsoft Orleans.
C#
9
star
15

MakeCertificate

Makes certificate files by answering a few simple questions.
PowerShell
9
star
16

NotificationsExtensions.Portable

Used to Create Windows 8.1/10 or Windows Phone 8.1/10 Tile, Toast and Badge Notification XML.
C#
7
star
17

Inversion-of-Control

Samples showing how Inversion of Control (IoC) containers work and some of their more advanced features.
C#
5
star
18

PulumiSample

C#
4
star
19

SnowflakeId

C#
4
star
20

PowerShell-Cheat-Sheet

A cheat sheet for PowerShell and Windows commands.
3
star
21

UpdateSocialMedia

Creates posts on social media for a new YouTube video or blog post.
C#
3
star
22

RehanSaeed

About Muhammad Rehan Saeed
2
star
23

Shooter

A J2ME game I made in 2006.
Java
2
star
24

SpaceInvaders

A flash game I made for an interview in 2006.
AngelScript
1
star
25

FastestApi

C#
1
star
26

FastestNuGet

C#
1
star