You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Completion/BlazorDataAttributeCompletionItemProvider.cs
+20-17Lines changed: 20 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -82,30 +82,33 @@ public ImmutableArray<RazorCompletionItem> GetCompletionItems(RazorCompletionCon
82
82
continue;
83
83
}
84
84
85
-
// Check if the attribute already exists on the element
86
-
varalreadyExists=false;
87
-
foreach(varattributeinattributes)
85
+
// If not currently editing this attribute, check if it already exists
0 commit comments