Skip to content

Commit 95542b3

Browse files
committed
Implement Suggestion #1634 (comment)
1 parent 394088b commit 95542b3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/PowerShellEditorServices/Services/DebugAdapter/Debugging/VariableDetails.cs

+1-6
Original file line numberDiff line numberDiff line change
@@ -361,12 +361,7 @@ protected static void AddDotNetProperties(object obj, List<VariableDetails> chil
361361

362362
// For certain array or dictionary types, we want to hide additional properties under a "raw view" header
363363
// to reduce noise. This is inspired by the C# vscode extension.
364-
if (!noRawView &&
365-
(
366-
obj is IEnumerable
367-
|| obj is IDictionary
368-
)
369-
)
364+
if (!noRawView && obj is IEnumerable)
370365
{
371366
childVariables.Add(new VariableDetailsRawView(obj));
372367
return;

0 commit comments

Comments
 (0)