Skip to content

Commit 396569f

Browse files
committed
added link to naming conventions
1 parent 70bd4b3 commit 396569f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

docs/ide/create-portable-custom-editor-options.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ If there is an EditorConfig file anywhere in the directory structure at or above
142142

143143
**"User preferences for this file type are overridden by this project's coding conventions."**
144144

145-
This means that if any editor settings in **Tools**, **Options**, **Text Editor** (such as indent size and style, tab size, or coding conventions) are specified in an EditorConfig file at or above the project in the directory structure, the conventions in the EditorConfig file override the settings in Options. You can control this behavior by toggling the **Follow project coding conventions** option in **Tools**, **Options**, **Text Editor**. Unchecking the option turns off EditorConfig support for Visual Studio.
145+
This means that if any editor settings in **Tools** > **Options** > **Text Editor** (such as indent size and style, tab size, or coding conventions) are specified in an EditorConfig file at or above the project in the directory structure, the conventions in the EditorConfig file override the settings in Options. You can control this behavior by toggling the **Follow project coding conventions** option in **Tools** > **Options** > **Text Editor**. Unchecking the option turns off EditorConfig support for Visual Studio.
146146

147147
![Tools Options - follow project coding conventions](media/coding_conventions_option.png)
148148

@@ -157,6 +157,7 @@ You can control the scope of your EditorConfig conventions by setting the ```roo
157157
## See also
158158

159159
[.NET code style conventions](../ide/editorconfig-code-style-settings-reference.md)
160+
[.NET naming conventions](../ide/editorconfig-naming-conventions.md)
160161
[Supporting EditorConfig for a language service](../extensibility/supporting-editorconfig.md)
161162
[EditorConfig.org](http://editorconfig.org/)
162163
[Writing code in the editor](writing-code-in-the-code-and-text-editor.md)

docs/ide/editorconfig-naming-conventions.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
---
2-
title: ".NET Naming Conventions For EditorConfig | Microsoft Docs"
2+
title: ".NET Naming Conventions For EditorConfig files | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/20/2017"
55
ms.reviewer: ""
66
ms.suite: ""
7-
ms.tgt_pltfrm: ""
87
ms.topic: "article"
98
helpviewer_keywords:
109
- "naming conventions [EditorConfig]"
1110
- "EditorConfig naming conventions"
1211
author: "gewarren"
1312
ms.author: "gewarren"
1413
manager: ghogen
15-
ms.technology:
16-
- "vs-ide-general"
14+
ms.technology: vs-ide-general
1715
ms.workload:
1816
- "multiple"
1917
---
20-
# Naming Conventions for EditorConfig
18+
# .NET naming conventions for EditorConfig
2119

2220
Naming conventions concern the naming of code elements such as classes, properties, and methods. For example, you can specify that public members must be capitalized, or that asynchronous methods must end in "Async". You can enforce these rules by specifying them in an [.editorconfig file](../ide/create-portable-custom-editor-options.md). Naming rule violations appear either in the Error List or as a suggestion under the name, depending on the severity you choose for your rule. There is no need to build the project in order to see violations.
2321

0 commit comments

Comments
 (0)