-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Show toString of Objects In Hover #1284
Comments
My instinct would be to use The difficult part is that we build that preview off of the information we get by calling {
"type": "object",
"className": "Foo",
"description": "Foo",
"objectId": "-4497892529713776404.1.30",
"preview": {
"type": "object",
"description": "Foo",
"overflow": false,
"properties": [
{
"name": "hello",
"type": "string",
"value": "world"
}
]
}
} Unfortunately there's no indication that there is a While I'm not enthused about introducing discrepancy between display in the hover and variables view, we could special case the hover evaluation to do something special and call |
Yes, but having it everywhere would be even more useful. |
Figured out a way to make it work everywhere pretty well |
@hediet I think you can verify |
Use it almost daily. A great feature!! |
NOT a debugging viewer WITHOUT this function!!! |
Not sure what you're asking... |
It would be really helpful if the hover title would show the
.toString()
result of the object:In this case,
.toString()
of the range would be[3,3)
.v8 allows you to call a function (such as
.toString()
) but throw before any side-effect is caused.The text was updated successfully, but these errors were encountered: