Duplicated parts of namespace or class names in ToolTip in v5.0.7
I've overridden my 5.0.6 so I don't know this is new to this build, but I think I would have noticed.
I don't yet have the exact scenario, but I see it in C# with just
"Test".Dump();
Hovering over Dump shows "(extension) string LINQPad.LINQPad.Extensions.Dump()" on the first line of the tooltip.
In VB.NET:
My.Application.Info.DirectoryPath.Dump
Hovering over Application and Info show duplicate parts in the "As clause" and Dump shows the same duplication as in C#.
BTW, in VB.NET Subs are currently shown with "As Void". Again I think I would have noticed this if it was in previous builds, but it is less likely I would have hovered to try it.
I don't yet have the exact scenario, but I see it in C# with just
"Test".Dump();
Hovering over Dump shows "(extension) string LINQPad.LINQPad.Extensions.Dump()" on the first line of the tooltip.
In VB.NET:
My.Application.Info.DirectoryPath.Dump
Hovering over Application and Info show duplicate parts in the "As clause" and Dump shows the same duplication as in C#.
BTW, in VB.NET Subs are currently shown with "As Void". Again I think I would have noticed this if it was in previous builds, but it is less likely I would have hovered to try it.
Comments
var q=Util.CurrentQuery;
Util.CompileAsync(null);
Util.GetWebProxy();
These all duplicate something still.
Something as "simple" as showing the full Namespace "path" for all types in tooltips when Ctrl and Shift are down would do for me.
And a related question: Is it documented anywhere what the default Namespace Imports are?
From my own testing they seem to be:
LINQPad
System
System.Collections
System.Collections.Generic
System.Data
System.Data.Linq
System.Data.Linq.SqlClient
System.Data.SqlClient
System.Diagnostics
System.IO
System.Linq
System.Linq.Expressions
System.Reflection
System.Text
System.Text.RegularExpressions
System.Threading
System.Transactions
System.Xml
System.Xml.Linq
System.Xml.XPath