databinding.editorconfig 2024.1.18.4

Prefix Reserved
dotnet new install databinding.editorconfig::2024.1.18.4                
This package contains a .NET Template Package you can call from the shell/command line.

databinding EditorConfig Logo

EditorConfig Item Template

Build Status Nuget Nuget

The editorconfig is used to set code rules for projects in Visual Studio or VS Code. Rules are defined how the source code should look like, so that they support the developer.

These rules are used by databinding by default.

The template for the .editorconfig file is downloaded over NuGet.org.

Documentation

Information about EditorConfig.

Getting Started

Prerequisites

IDEs which support .editorconfig files.

More about that here.

Installing

Install the NuGet package to local machine.

Open Command Prompt and execute:

dotnet new install databinding.editorconfig::2024.01.18.4

To verify that it was installed correctly, run:

dotnet new --list

It appears in the list:

List of dotnet templates

Uninstall

To uninstall the template open Command Prompt, execute:

dotnet new uninstall databinding.editorconfig

It does not show up in the list anymore.

Use in Project

Adding with Package Manager Console

Open the Package Manager Console in the project directory.

Execute:

dotnet new db-editorconfig -n .editorconfig

The .editorconfig file is now in the project.

Solution Explorer with editorconfig file

Use in Solution

Adding with Package Manager Console

Open the Package Manager Console in the solution directory.

Execute:

dotnet new db-editorconfig -n .editorconfig

Right-click the solution and add the .editorconfig file with "Add / Existing item...".

The .editorconfig file is now in the Solution Items folder.

Adding with Visual Studio Item Template

Project templates are shown automatically after the installation. For unknown reasons, the item templates are not.

Adding with Terminal is the only option right now.

Editor

Only open the .editorconfig file with a text editor. Any other editor may cause unwanted changes.

For example, Visual Studio opens the file like so:

Visual Studio Editor

Saving it would override all Configurations.

Run Analyzer

After right-clicking the solution or project, the code analyzer searches the code for style errors.

alt

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.1.18.4 1,725 1/18/2024
2024.1.18.2 159 1/18/2024
2023.2.7.8 307 2/7/2023
2023.2.7.6 293 2/7/2023
2023.1.27.3 289 1/27/2023
2022.10.5.3 450 10/5/2022
2022.9.28.2 523 9/28/2022
2022.9.12.8 393 9/12/2022
2022.8.26.15 427 8/26/2022