Skip to content

Commit 1106ce5

Browse files
committed
Allow completion items to add using directives
1 parent 88d10f2 commit 1106ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/RazorFormattingService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public async Task<ImmutableArray<TextChange>> GetHtmlOnTypeFormattingChangesAsyn
241241
triggerCharacter: '\0',
242242
_csharpOnTypeFormattingPass,
243243
collapseChanges: true,
244-
automaticallyAddUsings: false,
244+
automaticallyAddUsings: true,
245245
validate: false,
246246
cancellationToken: cancellationToken).ConfigureAwait(false);
247247

0 commit comments

Comments
 (0)