With this taken from the msvc stl natvis:
<Type Name="std::tuple<*>">
</Type>
<Type Name="std::tuple<*,*>">
</Type>
<Type Name="std::tuple<*,*,*>">
it will pick the first match in VSCode, not the best. E.g. for std::tuple<int,int,int> it will pick the second, cause of
|
var visualizer = autoVis.Visualizers.Find((v) => v.ParsedName.Match(name)); // TODO: match on View, version, etc |
|
// args must match one-for one, |
|
// or if last arg is a wildcard it will match any number of additional args |
|
if (Args.Count > t.Args.Count || (Args.Count == 0 && t.Args.Count > 0) || (Args.Count < t.Args.Count && !Args[Args.Count - 1].IsWildcard)) |
With this taken from the msvc stl natvis:
it will pick the first match in VSCode, not the best. E.g. for
std::tuple<int,int,int>it will pick the second, cause ofMIEngine/src/MIDebugEngine/Natvis.Impl/Natvis.cs
Line 877 in 6951239
MIEngine/src/MIDebugEngine/Natvis.Impl/NatvisNames.cs
Lines 91 to 93 in 6951239