-
Notifications
You must be signed in to change notification settings - Fork 79
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
Debug protocol extension: support for 'type' in expression evaluation result #32
Comments
@gregg-miskelly how should a type be used in the UI? |
@gregg-miskelly the VS Code approach to types was to combine types with the variable name (and not the value) because that aligns nicely with the way how types are used in the syntax of programming languages. However, fully qualified types seem to be really unwieldy for nice and lean UIs. Could we use some form of progressive disclosure to make type information available? E.g. having a 'type' hover? |
@weinand yes, having some sort of a type hover sounds very useful. Are you thinking we would have some sort of short type name in the name or value that could be hovered to reveal the long name? For some historical background: In the C# extension, we started with the type in the name, but we found it didn't work all that well. It was pretty early on that we switched it, so I don't remember precisely why, but I think it was because --
|
@gregg-miskelly our plan is to show an optional type when hovering over the name of a variable. /cc @isidorn |
I've added a 'type' attribute to the |
/cc @DavidKarlas |
Seems not enough? I see:
There is no way to response the type information of the variable of the evaluate result self. |
@gregg-miskelly |
@hackwaly good point. I'll add |
To be able to use the debug protocol in other IDEs (Visual Studio, Xamarin Studio) we should think about how the debug protocol should support expression evaluation windows that have a 'Type' column.
Suggestion:
The text was updated successfully, but these errors were encountered: