Vscode: Why the colon?

Created on 26 Jul 2016  路  8Comments  路  Source: microsoft/vscode

Testing #9684

Each variable page group seems to end with the colon :, as if there is a value right after it.

image

But there never is 馃槩

bug debug verified

Most helpful comment

@isidorn we should not only remove the colon in this case but establish the rule that there is only a colon if it is followed by a value.

All 8 comments

This was originaly proposed by @weinand
I am fine with removing the colon. @weinand opinion?

@isidorn what do chrome dev tools in this case?

@weinand they do not have the colon, and they also do what @joaomoreno proposed in #9774

screen shot 2016-07-26 at 15 25 11

@isidorn we should not only remove the colon in this case but establish the rule that there is only a colon if it is followed by a value.

@isidorn please consider to use the ellipsis character instead of '..'

@isidorn Shouldn't individual indexes _not_ have the array brackets, just like every other key?

image

@joaomoreno the brackets of the individual indexes are provided by the backend. They are not created in the VS Code debugger UI.
The current strategy for node-debug is to user brackets for arrays only and to use plain numbers for (well known) data structures that preserve insertion order like Maps or Sets.

That actually makes sense. Closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trstringer picture trstringer  路  3Comments

philipgiuliani picture philipgiuliani  路  3Comments

chrisdias picture chrisdias  路  3Comments

lukehoban picture lukehoban  路  3Comments

villiv picture villiv  路  3Comments