diff --git a/src/EditorFeatures/CSharp/CompleteStatement/CompleteStatementCommandHandler.cs b/src/EditorFeatures/CSharp/CompleteStatement/CompleteStatementCommandHandler.cs
index 81402aebf5ca925fc809e108988f037fb54fb584..5093f1d907fa972739f7aa08126f5c28c8277f40 100644
--- a/src/EditorFeatures/CSharp/CompleteStatement/CompleteStatementCommandHandler.cs
+++ b/src/EditorFeatures/CSharp/CompleteStatement/CompleteStatementCommandHandler.cs
@@ -391,7 +391,7 @@ private static bool SemicolonIsMissing(SyntaxNode currentNode)
/// preceding the semicolon. These delimiters are not part of the expression, but they behave like an argument
/// list for the purposes of identifying relevant places for statement completion:
///
- /// - The closing delimiter is typically inserted by the Automatic Brace Compeltion feature.
+ /// - The closing delimiter is typically inserted by the Automatic Brace Completion feature.
/// - It is not syntactically valid to place a semicolon directly within the delimiters.
///
///
diff --git a/src/EditorFeatures/CSharpTest/ChangeSignature/ChangeSignatureTests.cs b/src/EditorFeatures/CSharpTest/ChangeSignature/ChangeSignatureTests.cs
index 851a5c736e5736db69f5a7ca78bbdfa22fafa4d1..9cd0f92f26e9359e6e9a56fc1c1152da57d7050f 100644
--- a/src/EditorFeatures/CSharpTest/ChangeSignature/ChangeSignatureTests.cs
+++ b/src/EditorFeatures/CSharpTest/ChangeSignature/ChangeSignatureTests.cs
@@ -280,7 +280,7 @@ public class C3
}
else if (updatedDocument.Name == "C3.cs")
{
- // shouldn't change unchangable document
+ // shouldn't change unchangeable document
Assert.Contains("bool _x = C1.M(1, 2);", (await updatedDocument.GetTextAsync(CancellationToken.None)).ToString());
}
}
diff --git a/src/EditorFeatures/CSharpTest/CodeActions/ConvertLinq/ConvertLinqQueryToForEachTests.cs b/src/EditorFeatures/CSharpTest/CodeActions/ConvertLinq/ConvertLinqQueryToForEachTests.cs
index 775edfcef2288b40bbd46c48ecc22347bc5f46b1..364cd14b8502c845fb2cebd2846a8ffbc5ce02f7 100644
--- a/src/EditorFeatures/CSharpTest/CodeActions/ConvertLinq/ConvertLinqQueryToForEachTests.cs
+++ b/src/EditorFeatures/CSharpTest/CodeActions/ConvertLinq/ConvertLinqQueryToForEachTests.cs
@@ -1824,7 +1824,7 @@ List M(IEnumerable q)
}
";
- // No support for expresison bodied constructors yet.
+ // No support for expression bodied constructors yet.
await TestMissingAsync(source);
}
diff --git a/src/EditorFeatures/Core.Wpf/Classification/ClassificationTypeFormatDefinitions.cs b/src/EditorFeatures/Core.Wpf/Classification/ClassificationTypeFormatDefinitions.cs
index bdf1bdd7da16b4758ff2122b2f3e5faacb3d6bf0..cdbe0934f5d8e8cc9456675f33bfc67153cd9d2d 100644
--- a/src/EditorFeatures/Core.Wpf/Classification/ClassificationTypeFormatDefinitions.cs
+++ b/src/EditorFeatures/Core.Wpf/Classification/ClassificationTypeFormatDefinitions.cs
@@ -162,11 +162,11 @@ public SymbolStaticFormatDefinition()
// User Types - * and User Members - * are ordered after Keyword
// so that, in the case both classifications are applied to the same
- // span, the styling for the identifier type would be choosen.
+ // span, the styling for the identifier type would be chosen.
// User Types - * and User Members - * are ordered before Symbol - Static
- // so that the font styling choosen for static symbols would override the
- // styling choosen for specific identifier types.
+ // so that the font styling chosen for static symbols would override the
+ // styling chosen for specific identifier types.
#region User Types - Classes
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.ClassName)]
diff --git a/src/EditorFeatures/Core.Wpf/Options/LegacyEditorConfigDocumentOptionsProvider.DocumentOptions.cs b/src/EditorFeatures/Core.Wpf/Options/LegacyEditorConfigDocumentOptionsProvider.DocumentOptions.cs
index e9ce45da2b298cc8ca7abffccc3fcb9283c506e5..f08740f48884fd964f85ae1248ff11a854bbbd82 100644
--- a/src/EditorFeatures/Core.Wpf/Options/LegacyEditorConfigDocumentOptionsProvider.DocumentOptions.cs
+++ b/src/EditorFeatures/Core.Wpf/Options/LegacyEditorConfigDocumentOptionsProvider.DocumentOptions.cs
@@ -35,7 +35,7 @@ public bool TryGetDocumentOption(OptionKey option, out object value)
return false;
}
- // Temporarly map our old Dictionary to a Dictionary. This can go away once we either
+ // Temporarily map our old Dictionary to a Dictionary. This can go away once we either
// eliminate the legacy editorconfig support, or we change IEditorConfigStorageLocation.TryGetOption to take
// some interface that lets us pass both the Dictionary we get from the new system, and the
// Dictionary from the old system.
diff --git a/src/EditorFeatures/Core.Wpf/QuickInfo/IContentControlService.cs b/src/EditorFeatures/Core.Wpf/QuickInfo/IContentControlService.cs
index 9c5038c6543c3b3a95d2a80838383b8e0a75c4d8..8f4693fad9c1315158a5628dba96f35481d1b552 100644
--- a/src/EditorFeatures/Core.Wpf/QuickInfo/IContentControlService.cs
+++ b/src/EditorFeatures/Core.Wpf/QuickInfo/IContentControlService.cs
@@ -19,7 +19,7 @@ internal interface IContentControlService : IWorkspaceService
/// get /> from the given 's
/// based on given
///
- /// tooltip will show embeded textview which shows code from the content span of the text buffer with the context of the
+ /// tooltip will show embedded textview which shows code from the content span of the text buffer with the context of the
/// base document
///
/// document to be used as a context for the code
@@ -32,7 +32,7 @@ internal interface IContentControlService : IWorkspaceService
///
/// get /> from the given
///
- /// tooltip will show embeded textview with whole content from the buffer. if the buffer has associated tags
+ /// tooltip will show embedded textview with whole content from the buffer. if the buffer has associated tags
/// in its property bag, it will be picked up by taggers associated with the tooltip
///
DisposableToolTip CreateDisposableToolTip(ITextBuffer textBuffer, object backgroundResourceKey);
diff --git a/src/EditorFeatures/Core.Wpf/Structure/AbstractStructureTaggerProvider.cs b/src/EditorFeatures/Core.Wpf/Structure/AbstractStructureTaggerProvider.cs
index 8ff6df188c69668538b9054f9973d9049bb13cab..d5877ecdf74cd1f2c5c520c7161ad69a8a2b599f 100644
--- a/src/EditorFeatures/Core.Wpf/Structure/AbstractStructureTaggerProvider.cs
+++ b/src/EditorFeatures/Core.Wpf/Structure/AbstractStructureTaggerProvider.cs
@@ -166,7 +166,7 @@ protected sealed override ITaggerEventSource CreateEventSource(ITextView textVie
}
catch (TypeLoadException)
{
- // We're targetting a version of the BlockTagging infrastructure in
+ // We're targeting a version of the BlockTagging infrastructure in
// VS that may not match the version that the user is currently
// developing against. Be resilient to this until everything moves
// forward to the right VS version.
diff --git a/src/EditorFeatures/Core/FindUsages/FindUsagesHelpers.cs b/src/EditorFeatures/Core/FindUsages/FindUsagesHelpers.cs
index 8d44d20b4448d77c0ae1a28626aae111668ca35d..81ba8380a5844ede07778151dc84f2bde0be4ee3 100644
--- a/src/EditorFeatures/Core/FindUsages/FindUsagesHelpers.cs
+++ b/src/EditorFeatures/Core/FindUsages/FindUsagesHelpers.cs
@@ -88,7 +88,7 @@ public static async Task<(ISymbol symbol, Project project, ImmutableArray();
diff --git a/src/EditorFeatures/Core/Host/IStreamingFindReferencesPresenter.cs b/src/EditorFeatures/Core/Host/IStreamingFindReferencesPresenter.cs
index 22e01290797512b5ede5169dabb4500e51519439..51f23f20dde9589ba2ab0983293a3a4542434c07 100644
--- a/src/EditorFeatures/Core/Host/IStreamingFindReferencesPresenter.cs
+++ b/src/EditorFeatures/Core/Host/IStreamingFindReferencesPresenter.cs
@@ -95,7 +95,7 @@ internal static class IStreamingFindUsagesPresenterExtensions
// Note: we don't need to put this in a finally. The only time we might not hit
// this is if cancellation or another error gets thrown. In the former case,
// that means that a new search has started. We don't care about telling the
- // context it has completed. In the latter case somethign wrong has happened
+ // context it has completed. In the latter case something wrong has happened
// and we don't want to run any more code code in this particular context.
await context.OnCompletedAsync().ConfigureAwait(false);
}
diff --git a/src/EditorFeatures/Core/Implementation/IntelliSense/AsyncCompletion/Helpers.cs b/src/EditorFeatures/Core/Implementation/IntelliSense/AsyncCompletion/Helpers.cs
index 511f7a81a70c93c0e2af6a815b684a66609c15b2..fa4f9fee236885ae5e91fccac140ac27564166a1 100644
--- a/src/EditorFeatures/Core/Implementation/IntelliSense/AsyncCompletion/Helpers.cs
+++ b/src/EditorFeatures/Core/Implementation/IntelliSense/AsyncCompletion/Helpers.cs
@@ -127,12 +127,12 @@ internal static bool TryGetInitialTriggerLocation(EditorAsyncCompletion.IAsyncCo
}
// This is a temporarily method to support preference of IntelliCode items comparing to non-IntelliCode items.
- // We expect that Editor will intorduce this support and we will get rid of relying on the "★" then.
+ // We expect that Editor will introduce this support and we will get rid of relying on the "★" then.
internal static bool IsPreferredItem(this RoslynCompletionItem completionItem)
=> completionItem.DisplayText.StartsWith("★");
// This is a temporarily method to support preference of IntelliCode items comparing to non-IntelliCode items.
- // We expect that Editor will intorduce this support and we will get rid of relying on the "★" then.
+ // We expect that Editor will introduce this support and we will get rid of relying on the "★" then.
internal static bool IsPreferredItem(this VSCompletionItem completionItem)
=> completionItem.DisplayText.StartsWith("★");
}
diff --git a/src/EditorFeatures/Core/Implementation/KeywordHighlighting/HighlighterViewTaggerProvider.cs b/src/EditorFeatures/Core/Implementation/KeywordHighlighting/HighlighterViewTaggerProvider.cs
index 49b4f9e2a04237c2ff1ede5e399988db8d5db986..138396b2a254c515f05bf88982ba0e4171c96799 100644
--- a/src/EditorFeatures/Core/Implementation/KeywordHighlighting/HighlighterViewTaggerProvider.cs
+++ b/src/EditorFeatures/Core/Implementation/KeywordHighlighting/HighlighterViewTaggerProvider.cs
@@ -62,7 +62,7 @@ protected override async Task ProduceTagsAsync(TaggerContext(workspace.Documents.First().GetTextBuffer());
- // Now product hte first diagnostic and fire the events.
+ // Now product the first diagnostic and fire the events.
var tree = await workspace.CurrentSolution.Projects.Single().Documents.Single().GetSyntaxTreeAsync();
var span = TextSpan.FromBounds(0, 5);
diagnosticService.CreateDiagnosticAndFireEvents(Location.Create(tree, span));
@@ -143,7 +143,7 @@ public async Task TestWithMockDiagnosticService_TaggerProviderCreatedBeforeIniti
public async Task TestWithMockDiagnosticService_TaggerProviderCreatedAfterInitialDiagnosticsReported()
{
// This test produces diagnostics from a mock service so that we are disconnected from
- // all teh asynchrony of hte actual async analyzer engine. If this fails, then the
+ // all the asynchrony of the actual async analyzer engine. If this fails, then the
// issue is almost certainly in the DiagnosticsSquiggleTaggerProvider code. If this
// succeed, but other squiggle tests fail, then it is likely an issue with the
// diagnostics engine not actually reporting all diagnostics properly.
@@ -157,7 +157,7 @@ public async Task TestWithMockDiagnosticService_TaggerProviderCreatedAfterInitia
workspace.ExportProvider.GetExportedValue(),
diagnosticService, workspace.GetService(), listenerProvider);
- // Create and fire the diagnostic events before hte tagger is even made.
+ // Create and fire the diagnostic events before the tagger is even made.
var tree = await workspace.CurrentSolution.Projects.Single().Documents.Single().GetSyntaxTreeAsync();
var span = TextSpan.FromBounds(0, 5);
diagnosticService.CreateDiagnosticAndFireEvents(Location.Create(tree, span));
diff --git a/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs b/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs
index 4a9f608302f3ebab95b39472cae9dd15c0324173..4997d0f77fe8434f71a2af19186fecedee35f512 100644
--- a/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs
+++ b/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs
@@ -1137,7 +1137,7 @@ public async Task BreakMode_ValidSignificantChange_EmitSuccessful_UpdateDeferred
_mockCompilationOutputsService.Outputs.Add(project.Id, new CompilationOutputFiles(moduleFile.Path, pdbFile.Path));
- // set up an active statement in the first method, so that we can test preservaton of local signature.
+ // set up an active statement in the first method, so that we can test preservation of local signature.
_mockActiveStatementProvider = new Mock(MockBehavior.Strict);
_mockActiveStatementProvider.Setup(p => p.GetActiveStatementsAsync(It.IsAny())).
Returns(Task.FromResult(ImmutableArray.Create(new ActiveStatementDebugInfo(