From a1c7a6e9f179ff3b9639acd9332d0a630f286e2b Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sat, 11 Oct 2025 15:55:00 +1000 Subject: [PATCH] Update SymbolInfoComponents.cs --- .../Features/CodeEditor/SymbolInfoComponents.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SymbolInfoComponents.cs b/src/SharpIDE.Godot/Features/CodeEditor/SymbolInfoComponents.cs index 77495e8..79a9d50 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SymbolInfoComponents.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SymbolInfoComponents.cs @@ -33,8 +33,7 @@ public static class SymbolInfoComponents label.Newline(); label.AddText("in class "); label.AddContainingNamespaceAndClass(methodSymbol); - label.Newline(); // TODO: Make this only 1.5 lines high - label.Newline(); // + label.Newline(); label.AddTypeParameterArguments(methodSymbol); label.Pop(); // font label.AddDocs(methodSymbol); @@ -242,6 +241,7 @@ public static class SymbolInfoComponents private static void AddTypeParameterArguments(this RichTextLabel label, IMethodSymbol methodSymbol) { if (methodSymbol.TypeArguments.Length == 0) return; + label.Newline(); // TODO: Make this only 0.5 lines high var typeParameters = methodSymbol.TypeParameters; var typeArguments = methodSymbol.TypeArguments; if (typeParameters.Length != typeArguments.Length) throw new Exception("Type parameters and type arguments length mismatch.");