-
Notifications
You must be signed in to change notification settings - Fork 38.5k
Closed as not planned
Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
Hi all!
I was wondering if there were a way for a debugger extension to influence the debugger windows. In reference to this issue xdebug/vscode-php-debug#400 I was wondering if the PHP Debug extension could somehow register additional context options when a user right clicks on a variable to copy its value. I'd like to add context menu items like "Copy Value as JSON" and "Copy Value as var_export" and then have these commands send a DAP evaluateRequest with a specific, custom, context instead of clipboard. Like clipboard-json...
This could probably be achieved in a declarative way through the manifest (very issue specific) or some hooks in the extension code (more general approach).
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality