-
Notifications
You must be signed in to change notification settings - Fork 31k
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 viewContainer menu contribution points #200880
Comments
I am open to these for areas where the data type in the list is represented in the extension API already (eg Breakpoints). For others, like variables, that would involve having to think about how that type should look presented to an extension, which would take more effort. |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
I guess we actually have this for variables already |
We do, the ask is to consider this for some of the other views |
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
I definitely understand the difficulty or that this isn't a trivial feature. But at the same time, when it comes to the debug adapter interface, we have a clear spec to adhere to. That's the API - and in a sense, no more, no less (though I'm sure there's always a bunch of new cool magical stuff one can add). I think it would be neat if VSCode therefore exposed this functionality in a "bi-directional" fashion (sort of) as it's already well defined in the DAP spec. The debug adapter knows what data it gives VSCode, the DAP spec is clear on life times and object references and therefore it should not be that troublesome to pass that data back and forth - even outside of a normal "debug adapter request chain"; since the spec is clear that, for instance, I don't know if this rant made any sense, but it's an attempt to spark a discussion in hopes of possibly moving something forward. |
Proposed contribution points covering this request can now be found in these PRs: |
Sorry for taking so long to look at this. I'll try to make some progress on it this week and get a discussion going about best practices for context menus here. It's not straightforward when we want to expose context types that don't exist elsewhere in extension API |
Great! I put some thought into the context types being exposed, feedback welcome. |
|
Verification steps: you can enable the |
from the sample here, I could get a contribution into the callstack context menu and the debug toolbar, but not in the watch viewlet. also, this contrib didn't seem to change anything
|
Please be aware this request is implemented through multiple PRs and isn't complete.
Please be aware the example covers multiple PRs which aren't yet all merged:
The restriction for |
Apologies if this is too similar to existing requests, but I'm keen to pull together a common request for adding debug contribution points.
Similar requests:
And related:
Rationale:
Debugging often needs deep integration between views (e.g. embedded debugging) where they are all driven from a common context and can interact with other. A common way to add these links/commands is through contribution points and some of the provided debug views lack these extension points. Can I suggest contribution points in context menus for the following:
I assume this is the debug viewlet:
Happy to work on a PR if this is of interest.
The text was updated successfully, but these errors were encountered: