Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit d41e13e

Browse files
fix #543: Ctrl+Space Code completion description tooltip for classes should include namespace name
1 parent 4170e41 commit d41e13e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/AddIns/BackendBindings/CSharpBinding/Project/Src/Completion/EntityCompletionData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public EntityCompletionData(IEntity entity) : base(entity.Name)
4545
protected override object CreateFancyDescription()
4646
{
4747
return new FlowDocumentScrollViewer {
48-
Document = XmlDocFormatter.CreateTooltip(entity, false),
48+
Document = XmlDocFormatter.CreateTooltip(entity, entity is ITypeDefinition),
4949
VerticalScrollBarVisibility = ScrollBarVisibility.Auto
5050
};
5151
}

src/AddIns/BackendBindings/CSharpBinding/Project/Src/Completion/TypeCompletionData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public TypeCompletionData(IType type) : base(type.Name)
4343
protected override object CreateFancyDescription()
4444
{
4545
return new FlowDocumentScrollViewer {
46-
Document = XmlDocFormatter.CreateTooltip(type, false),
46+
Document = XmlDocFormatter.CreateTooltip(type),
4747
VerticalScrollBarVisibility = ScrollBarVisibility.Auto
4848
};
4949
}

0 commit comments

Comments
 (0)