Skip to content

Commit 541fb0d

Browse files
authored
Comment Cleanup
1 parent 65e0f18 commit 541fb0d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,9 @@ private static string GetValueStringAndType(object value, bool isExpandable, out
180180
// We need to use this "magic value" to highlight in vscode properly
181181
// These "magic values" are analagous to TypeScript and are visible in VSCode here:
182182
// https://github.com/microsoft/vscode/blob/57ca9b99d5b6a59f2d2e0f082ae186559f45f1d8/src/vs/workbench/contrib/debug/browser/baseDebugView.ts#L68-L78
183-
// numbers and strings so far seem to get detected properly be serialization and the original .NET type
184-
// is preserved
183+
// NOTE: we don't do numbers and strings since they (so far) seem to get detected properly by
184+
//serialization, and the original .NET type can be preserved so it shows up in the variable name
185+
//type hover as the original .NET type.
185186
typeName = "boolean";
186187
}
187188
else if (isExpandable)

0 commit comments

Comments
 (0)