-
Notifications
You must be signed in to change notification settings - Fork 34
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
Allow truncating path to variables #126
Comments
Interesting idea! For long paths, we could do something like: add a "..." in the middle and the show the full path when the user hits alt+click. The question though is when do we decide to show the "...". After we expand through a certain number of fields? After we cross an arbitrary path size? Or would it have to vary based on window size? I'm not sure what the right answer is here. |
@petersalas , have you ever thought about this? |
Yeah, it can definitely be problem, especially when multiple fields are being showed and it's embarrassingly bad when it's The ideas around trimming sound good to me...maybe elide fields between 2 and N-1? |
When showing multiple variables in the tree display, this makes it easier to scan the display for the value vs the path. Bug: MicrosoftEdge#126
When showing multiple variables in the tree display, this makes it easier to scan the display for the value vs the path. Bug: #126
@cbiesinger @petersalas , do we still want this now that we have #155 ? |
You could certainly make an argument either way but I'm leaning towards keeping this open because it would be helpful to conserve screen width when showing multiple variables with long paths |
Today I wanted to show a member variable in the tree with a fairly long path:
Layer.scrollable_area_.raw_.scrollbar_manager_.v_bar_is_attached_:false
This takes up a lot of horizontal space... can we allow truncating them? Or always truncate in the middle when they get long enough, or something?
The text was updated successfully, but these errors were encountered: