vscode-js-debug icon indicating copy to clipboard operation
vscode-js-debug copied to clipboard

Allow to hide "[[Prototype]]" portion from the debug view

Open gulshan opened this issue 2 years ago • 5 comments

When debugging, the "[[Prototype]]" portion is not very useful. Option to hide them will declutter the limited space. Can you provide an option to hide the "[[Prototype]]" portion of the variables in the debug view?

Some previous issues in vscode repo related to this: https://github.com/microsoft/vscode/issues/19950 https://github.com/microsoft/vscode/issues/54125 https://github.com/microsoft/vscode/issues/60478

gulshan avatar Oct 05 '22 05:10 gulshan

I'm not a big fan of this. Maybe a more generalized solution would be a button in the title of the Variables view that hides properties with presentationHint.visiblity === 'internal'. Thoughts @roblourens?

connor4312 avatar Oct 05 '22 15:10 connor4312

I'm not opposed to a button or a setting for that

roblourens avatar Oct 05 '22 15:10 roblourens

Hi, is there any update on this?

gulshan avatar Jul 08 '23 12:07 gulshan

Hi, is there any update on this?

I was experimenting with customPropertiesGenerator and it seems to be possible to hide [[Prototype]] on regular objects since that feature was introduced (poc ext)

zardoy avatar Aug 07 '23 16:08 zardoy

Ideally hidden by default and keep option to show it only when needed.

martin-vavrusak avatar Feb 13 '24 10:02 martin-vavrusak