Skip to content
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

Consider showing variable values on hovering referred members within VB WITH statement #29950

Open
ivanbasov opened this issue Sep 17, 2018 · 3 comments
Labels
Area-Interactive Feature Request help wanted The issue is "up for grabs" - add a comment if you are interested in working on it Interactive-Debugging Language-VB
Milestone

Comments

@ivanbasov
Copy link
Contributor

Stop in debugging on the following code:

    Dim a = New Class1()
        a.Property1 = 5
        a.PublicField = 7

     With a
            .Property1 = a.PublicField ' stop here
            .PublicField = 6
        End With

It displays member values on hovering over a, a.PublicField. However, it does not display values on hovering over .PublicField or Property1. It maybe helpful to display value there as well.

@ivanbasov
Copy link
Contributor Author

@sharwell sharwell added Interactive-Debugging Feature Request Need Design Review The end user experience design needs to be reviewed and approved. and removed Area-IDE labels Sep 18, 2018
@jinujoseph jinujoseph added this to the Unknown milestone Sep 20, 2018
@ptoye
Copy link

ptoye commented Feb 6, 2019

I'd vote for this one. Really annoying.

@jinujoseph jinujoseph added this to In Queue in IDE: Design review via automation Jun 10, 2019
@dpoeschl dpoeschl moved this from In Queue to Next meeting (priority) in IDE: Design review Jul 1, 2019
@sharwell sharwell moved this from On deck to Need Update in IDE: Design review Nov 18, 2019
@sharwell
Copy link
Member

Design review conclusion: It was not intentional to avoid showing Quick Info during these debugging scenarios. We would accept a pull request implementing this feature, providing it accounted for the following two primary situations:

  1. The trivial case above, where the expression for With is a simple identifier reference to a field or local (the field value can be used)
  2. The slightly more complicated case where the expression is evaluated and assigned to a hidden local variable on the evaluation stack (the stack value should be used so the With expression is not evaluated a second time)

@sharwell sharwell added help wanted The issue is "up for grabs" - add a comment if you are interested in working on it and removed Need Design Review The end user experience design needs to be reviewed and approved. labels Nov 18, 2019
@sharwell sharwell moved this from Need Update to Complete in IDE: Design review Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Interactive Feature Request help wanted The issue is "up for grabs" - add a comment if you are interested in working on it Interactive-Debugging Language-VB
Projects
Status: Complete
IDE: Design review
  
Complete
Development

No branches or pull requests

4 participants