Skip to content

Commit 2ffbbc4

Browse files
committed
fix: MD019/no-multiple-space-atx
Multiple spaces after hash on atx style heading Find: ^(#+) ( +)(.*)\n Repalace: Filter: $1 $2\n
1 parent 1ff1046 commit 2ffbbc4

File tree

439 files changed

+2474
-2475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

439 files changed

+2474
-2475
lines changed

.markdownlint.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"MD009": false,
1111
"MD011": false,
1212
"MD013": false,
13-
"MD019": false,
1413
"MD020": false,
1514
"MD022": false,
1615
"MD024": false,

docs/code-quality/how-to-customize-the-code-analysis-dictionary.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Code Analysis uses a built-in dictionary to check identifiers in your code for e
6565

6666
- [Dictionary/Acronyms/CasingExceptions/Acronym](../code-quality/how-to-customize-the-code-analysis-dictionary.md#BKMK_DictionaryAcronymsCasingExceptionsAcronym)
6767

68-
### <a name="BKMK_DictionaryWordsRecognizedWord"></a> Dictionary/Words/Recognized/Word
68+
### <a name="BKMK_DictionaryWordsRecognizedWord"></a> Dictionary/Words/Recognized/Word
6969
To include a term in the list of terms that code analysis identifies as correctly spelled, add the term as the inner text of a Dictionary/Words/Recognized/Word element. Terms in Dictionary/Words/Recognized/Word elements are not case-sensitive.
7070

7171
**Example**
@@ -99,7 +99,7 @@ Code Analysis uses a built-in dictionary to check identifiers in your code for e
9999

100100
- [CA2204: Literals should be spelled correctly](../code-quality/ca2204-literals-should-be-spelled-correctly.md)
101101

102-
### <a name="BKMK_DictionaryWordsUnrecognizedWord"></a> Dictionary/Words/Unrecognized/Word
102+
### <a name="BKMK_DictionaryWordsUnrecognizedWord"></a> Dictionary/Words/Unrecognized/Word
103103
To exclude a term from the list of terms that code analysis identifies as correctly spelled, add the term to exclude as the inner text of a Dictionary/Words/Unrecognized/Word element. Terms in Dictionary/Words/Unrecognized/Word elements are not case-sensitive.
104104

105105
**Example**
@@ -133,7 +133,7 @@ Code Analysis uses a built-in dictionary to check identifiers in your code for e
133133

134134
- [CA2204: Literals should be spelled correctly](../code-quality/ca2204-literals-should-be-spelled-correctly.md)
135135

136-
### <a name="BKMK_DictionaryWordsDeprecatedTermPreferredAlternate"></a> Dictionary/Words/Deprecated/Term[@PreferredAlternate]
136+
### <a name="BKMK_DictionaryWordsDeprecatedTermPreferredAlternate"></a> Dictionary/Words/Deprecated/Term[@PreferredAlternate]
137137
To include a term in the list of terms that code analysis identifies as deprecated, add the term as the inner text of a Dictionary/Words/Deprecated/Term element. A deprecated term is a word that is spelled correctly but should not be used.
138138

139139
To include a suggested alternate term in the warning, specify the alternate in the PreferredAlternate attribute of the Term element. You can leave the attribute value empty if you do not want to suggest an alternate.
@@ -169,7 +169,7 @@ Code Analysis uses a built-in dictionary to check identifiers in your code for e
169169

170170
- [CA1726: Use preferred terms](../code-quality/ca1726-use-preferred-terms.md)
171171

172-
### <a name="BKMK_DictionaryWordsCompoundTermCompoundAlternate"></a> Dictionary/Words/Compound/Term[@CompoundAlternate]
172+
### <a name="BKMK_DictionaryWordsCompoundTermCompoundAlternate"></a> Dictionary/Words/Compound/Term[@CompoundAlternate]
173173
The built-in dictionary identifies some terms as single, discrete terms rather than a compound term. To include a term in the list of terms that code analysis identifies as a compound word and to specify the correct casing of the term, add the term as the inner text of a Dictionary/Words/Compound/Term element. In the CompoundAlternate attribute of the Term element, specify the individual words that make up the compound term by capitalizing the first letter of the individual words (Pascal case). Note that the term specified in the inner text is automatically added to the Dictionary/Words/DiscreteExceptions list.
174174

175175
- The deprecated term in Dictionary/Words/ Deprecated/Term element is not case-sensitive.
@@ -201,7 +201,7 @@ Code Analysis uses a built-in dictionary to check identifiers in your code for e
201201

202202
- [CA1704: Identifiers should be spelled correctly](../code-quality/ca1704-identifiers-should-be-spelled-correctly.md)
203203

204-
### <a name="BKMK_DictionaryWordsDiscreteExceptionsTerm"></a> Dictionary/Words/DiscreteExceptions/Term
204+
### <a name="BKMK_DictionaryWordsDiscreteExceptionsTerm"></a> Dictionary/Words/DiscreteExceptions/Term
205205
To exclude a term in the list of terms that code analysis identifies as a single, discrete word when the term is checked by the casing rules for compound words, add the term as the inner text of a Dictionary/Words/DiscreteExceptions/Term element. The term in Dictionary/Words/DiscreteExceptions/Term element is not case-sensitive.
206206

207207
**Example**
@@ -225,7 +225,7 @@ Code Analysis uses a built-in dictionary to check identifiers in your code for e
225225

226226
- [CA1702: Compound words should be cased correctly](../code-quality/ca1702-compound-words-should-be-cased-correctly.md)
227227

228-
### <a name="BKMK_DictionaryAcronymsCasingExceptionsAcronym"></a> Dictionary/Acronyms/CasingExceptions/Acronym
228+
### <a name="BKMK_DictionaryAcronymsCasingExceptionsAcronym"></a> Dictionary/Acronyms/CasingExceptions/Acronym
229229
To include an acronym in the list of terms that code analysis identifies as correctly spelled and to indicate how the acronym when the term is checked by the casing rules for compound words, add the term as the inner text of a Dictionary/Acronyms/CasingExceptions/Acronym element. The acronym in the Dictionary/Acronyms/CasingExceptions/Acronym element is case-sensitive.
230230

231231
**Example**
@@ -247,7 +247,7 @@ Code Analysis uses a built-in dictionary to check identifiers in your code for e
247247

248248
- [CA1709: Identifiers should be cased correctly](../code-quality/ca1709-identifiers-should-be-cased-correctly.md)
249249

250-
## <a name="BKMK_ToApplyACustomDictionaryToAProject"></a> To apply a custom dictionary to a project
250+
## <a name="BKMK_ToApplyACustomDictionaryToAProject"></a> To apply a custom dictionary to a project
251251

252252
1. In **Solution Explorer**, use one of the following procedures:
253253

docs/code-quality/troubleshooting-code-analysis-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This topic contains troubleshooting information for the following Visual Studio
1414

1515
- [Changes in a Visual Studio 2010 Rule Set Are Not Reflected in Previous Visual Studio Versions](#ChildRuleSetChangesInPreviousVersions)
1616

17-
## <a name="ChildRuleSetChangesInPreviousVersions"></a> Changes in a Visual Studio 2010 Rule Set Are Not Reflected in Previous Visual Studio Versions
17+
## <a name="ChildRuleSetChangesInPreviousVersions"></a> Changes in a Visual Studio 2010 Rule Set Are Not Reflected in Previous Visual Studio Versions
1818
When you create a rule set in [!INCLUDE[vs_dev10_long](../code-quality/includes/vs_dev10_long_md.md)] that contains a child rule set, a change to the child rule set might not be applied in code analysis runs on computers that use an earlier version of Visual Studio. To resolve this issue, you must force a rewrite of the parent rule set, that is the rule set that contains the child rule set.
1919

2020
1. Open the parent rule set in [!INCLUDE[vs_dev10_long](../code-quality/includes/vs_dev10_long_md.md)].

docs/code-quality/troubleshooting-code-metrics-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You might encounter some of the following issues when you collect code metrics:
1414

1515
- [Changes in Visual Studio 2010 code complexity calculations](#Changes_in_Visual_Studio_2010_code_complexity_calculations)
1616

17-
## <a name="Changes_in_Visual_Studio_2010_code_complexity_calculations"></a> Changes in Visual Studio 2010 code complexity calculations
17+
## <a name="Changes_in_Visual_Studio_2010_code_complexity_calculations"></a> Changes in Visual Studio 2010 code complexity calculations
1818
For the same function, the code complexity metric calculated in [!INCLUDE[vs_dev10_long](../code-quality/includes/vs_dev10_long_md.md)] can be different from the metric calculated by earlier versions of [!INCLUDE[vs_current_short](../code-quality/includes/vs_current_short_md.md)] for the following situations:
1919

2020
- The function contains one or more catch blocks. In previous versions of [!INCLUDE[vs_current_short](../code-quality/includes/vs_current_short_md.md)], catch blocks were not included in the calculation. In [!INCLUDE[vs_dev10_long](../code-quality/includes/vs_dev10_long_md.md)], the complexity of each catch block is added to the complexity of the function.

docs/cross-platform/cross-platform-mobile-development-in-visual-studio.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ With Visual Studio Tools for Xamarin, you can target Android, iOS, and Windows i
3434
|[Learn about Universal Windows apps in Visual Studio](https://visualstudio.microsoft.com/vs/universal-windows-platform/) (VisualStudio.com)|
3535
|[Learn about the similarities between Swift and C#](https://aka.ms/scposter) (download.microsoft.com)|
3636

37-
### <a name="AndroidHTML"></a> Target Android, iOS, and Windows from a single code base
37+
### <a name="AndroidHTML"></a> Target Android, iOS, and Windows from a single code base
3838

3939
You can build native apps for Android, iOS, and Windows by using C# or F# (Visual Basic is not supported at this time). To get started, install Visual Studio 2017, select the **Mobile Development with .NET** option in the installer.
4040

@@ -50,7 +50,7 @@ With Visual Studio Tools for Xamarin, you can target Android, iOS, and Windows i
5050

5151
Depending on the complexity of your apps design, you might consider building it by using *Xamarin.Forms* templates in the **Mobile Apps** group of project templates. Xamarin.Forms is a UI toolkit that lets you create a single interface that you can share across Android, iOS, and Windows. When you compile a Xamarin.Forms solution, you'll get an Android app, an iOS app, and a Windows app. For more details, see [Learn about mobile development with Xamarin](/xamarin/cross-platform/get-started/introduction-to-mobile-development/) and the [Xamarin.Forms documentation](/xamarin/xamarin-forms/).
5252

53-
#### <a name="ShareHTML"></a> Share code between Android, iOS, and Windows apps
53+
#### <a name="ShareHTML"></a> Share code between Android, iOS, and Windows apps
5454

5555
If you're not using Xamarin.Forms and choose to design for each platform individually, you can share most of your non-UI code between platform projects (Android, iOS, and Windows). This includes any business logic, cloud integration, database access, or any other code that targets the .NET Framework. The only code that you can't share is code that targets a specific platform.
5656

@@ -63,7 +63,7 @@ With Visual Studio Tools for Xamarin, you can target Android, iOS, and Windows i
6363
|[Sharing Code Options](/xamarin/cross-platform/app-fundamentals/code-sharing/) (Xamarin) |
6464
|[Code sharing options with .NET](/dotnet/standard/cross-platform/) |
6565

66-
### <a name="WindowsHTML"></a> Target Windows 10 devices
66+
### <a name="WindowsHTML"></a> Target Windows 10 devices
6767

6868
![Windows Devices](../cross-platform/media/windowsdevices.png "Windows Devices")
6969

@@ -78,7 +78,7 @@ With Visual Studio Tools for Xamarin, you can target Android, iOS, and Windows i
7878
|[Develop apps for the Universal Windows Platform (UWP)](../cross-platform/develop-apps-for-the-universal-windows-platform-uwp.md)|
7979
|[Migrate apps to the Universal Windows Platform (UWP)](https://msdn.microsoft.com/library/mt148501.aspx)|
8080

81-
## <a name="HTML"></a> Build an app for Android, iOS, and Windows (HTML/JavaScript)
81+
## <a name="HTML"></a> Build an app for Android, iOS, and Windows (HTML/JavaScript)
8282

8383
![Windows, iOS, and Android devices](../cross-platform/media/homedevices.png "Windows, iOS, and Android devices")
8484

docs/cross-platform/install-and-configure-tools-to-build-using-ios.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ To install and use the remote agent to develop code for iOS, you must first have
6060

6161
`sudo npm install -g npm@latest`
6262

63-
## <a name="Install"></a> Install the remote agent for iOS
63+
## <a name="Install"></a> Install the remote agent for iOS
6464

6565
When you install Visual C++ for Cross-Platform Mobile Development, Visual Studio can communicate with [vcremote](https://go.microsoft.com/fwlink/p/?LinkId=534988), a remote agent running on your Mac to transfer files, build and run your iOS app, and send debugging commands.
6666

6767
Before you install the remote agent, make sure you have satisfied the [Prerequisites](#prerequisites) and installed [Visual C++ for cross-platform mobile development](../cross-platform/install-visual-cpp-for-cross-platform-mobile-development.md#install-the-tools).
6868

69-
### <a name="DownloadInstall"></a> To download and install the remote agent
69+
### <a name="DownloadInstall"></a> To download and install the remote agent
7070

7171
- From the Terminal app on your Mac, enter:
7272

@@ -81,11 +81,11 @@ Before you install the remote agent, make sure you have satisfied the [Prerequis
8181
8282
If you update to a new version of Visual Studio, you must update to the current version of the remote agent as well. To update the remote agent, repeat the steps to download and install the remote agent.
8383

84-
## <a name="Start"></a> Start the remote agent
84+
## <a name="Start"></a> Start the remote agent
8585

8686
The remote agent must be running for Visual Studio to build and run your iOS code. Visual Studio must be paired with the remote agent before it can communicate. By default, the remote agent runs in secured connection mode, which requires a PIN to pair with Visual Studio.
8787

88-
### <a name="RemoteAgentStartServer"></a> To start the remote agent
88+
### <a name="RemoteAgentStartServer"></a> To start the remote agent
8989

9090
- From the Terminal app on your Mac, enter:
9191

@@ -121,7 +121,7 @@ Once you have started the remote agent, you can use it from Visual Studio until
121121

122122
- In the Terminal window vcremote is running in, enter **Control**+**C**.
123123

124-
## <a name="ConfigureVS"></a> Configure the remote agent in Visual Studio
124+
## <a name="ConfigureVS"></a> Configure the remote agent in Visual Studio
125125

126126
To connect to the remote agent from Visual Studio, you must specify the remote configuration in the Visual Studio options.
127127

@@ -158,7 +158,7 @@ To connect to the remote agent from Visual Studio, you must specify the remote c
158158

159159
Visual Studio uses the same information to connect to the remote agent on your Mac each time you use it. You do not need to pair Visual Studio with the remote agent again unless you generate a new security certificate on your Mac, or its hostname or IP address changes.
160160

161-
## <a name="GeneratePIN"></a> Generate a new security PIN
161+
## <a name="GeneratePIN"></a> Generate a new security PIN
162162

163163
When you start the remote agent the first time, the generated PIN is valid for a limited amount of time—by default, 10 minutes. If you don't pair Visual Studio to the remote agent before the time expires, you will need to generate a new PIN.
164164

@@ -172,7 +172,7 @@ When you start the remote agent the first time, the generated PIN is valid for a
172172

173173
The remote agent generates a new temporary PIN. To pair Visual Studio by using the new PIN, repeat the steps in [Configure the remote agent in Visual Studio](#ConfigureVS).
174174

175-
## <a name="GenerateCert"></a> Generate a new server certificate
175+
## <a name="GenerateCert"></a> Generate a new server certificate
176176

177177
For security purposes, the server certificates that pair Visual Studio with the remote agent are tied to the IP address or host name of your Mac. If these values change, you must generate a new server certificate, and then reconfigure Visual Studio with the new values.
178178

@@ -194,7 +194,7 @@ For security purposes, the server certificates that pair Visual Studio with the
194194

195195
1. To pair Visual Studio by using the new PIN, repeat the steps in [Configure the remote agent in Visual Studio](#ConfigureVS).
196196

197-
## <a name="ConfigureMac"></a> Configure the remote agent on the Mac
197+
## <a name="ConfigureMac"></a> Configure the remote agent on the Mac
198198

199199
You can configure the remote agent using various command line options. For example, you can specify the port to listen for build requests and specify the maximum number of builds to maintain on the file system. By default, the limit is 10 builds. The remote agent will remove builds that exceed the maximum on shutdown.
200200

docs/cross-platform/system-requirements-for-the-visual-studio-emulator-for-android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The setup program tries to configure these prerequisites for you silently when y
2020
> [!IMPORTANT]
2121
> The setup program for the emulator checks the prerequisites for running Visual Studio Emulator for Android. It displays warnings if the prerequisites are not present, but it does not require them.
2222
23-
## <a name="Checklist"></a> Quick checklist
23+
## <a name="Checklist"></a> Quick checklist
2424

2525
Here is a quick checklist of the requirements for running the Visual Studio Emulator for Android. For more detailed info, see the subsequent sections in this topic.
2626

0 commit comments

Comments
 (0)