Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Takoooooo committed Oct 27, 2023
1 parent dd5ae77 commit bdf5152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public MissingAliasSuggestedAction(ITrackingSpan span, IWpfDifferenceViewerFacto
_diffBufferFactory = diffBufferFactory;
_bufferFactory = bufferFactory;
_previewRoleSet = textEditorFactoryService.CreateTextViewRoleSet(PredefinedTextViewRoles.Analyzable);
DisplayText = $"Add {_namespaceAlias.ToLower()} ({_targetClassMetadata.Value})";
DisplayText = $"Use {_namespaceAlias.ToLower()} ({_targetClassMetadata.Value})";
}

public bool HasActionSets { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public MissingNamespaceSuggestedAction(ITrackingSpan span, IWpfDifferenceViewerF
_snapshot = span.TextBuffer.CurrentSnapshot;
_targetClassName = _span.GetText(_snapshot);
_targetClassMetadata = _inverseNamespaces.FirstOrDefault(x => x.Key.Split('.').Last() == _targetClassName);
DisplayText = $"Add {alias} ({_targetClassMetadata.Value})";
DisplayText = $"Add xmlns {alias}";
_diffFactory = diffFactory;
_diffBufferFactory = diffBufferFactory;
_bufferFactory = bufferFactory;
Expand Down

0 comments on commit bdf5152

Please sign in to comment.