Skip to content

Commit a92d9d7

Browse files
committed
Implement Suggestion #1634 (comment)
1 parent cfda423 commit a92d9d7

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
@@ -371,12 +371,7 @@ protected static void AddDotNetProperties(object obj, List<VariableDetails> chil
371371

372372
// For certain array or dictionary types, we want to hide additional properties under a "raw view" header
373373
// to reduce noise. This is inspired by the C# vscode extension.
374-
if (!noRawView &&
375-
(
376-
obj is IEnumerable
377-
|| obj is IDictionary
378-
)
379-
)
374+
if (!noRawView && obj is IEnumerable)
380375
{
381376
childVariables.Add(new VariableDetailsRawView(obj));
382377
return;

0 commit comments

Comments
 (0)