You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
roblourens on my end I could only enable this context menu contributions on the stack frame elemnts but that feels a bit hackish. Extensions should be able to contribute some other actions to program / thread, so in a perfect world we would be able to specify somehow for what elements in the context menu should they be shown.
Having 3 different contribution points also feels a bit ugly, one for stack frame, one for thread, one for program
roblourens I think the when clause was designed with something else in mind, like when in debug. It does not feel natural to me to add a context when 'stackFrameSelected'
Most of them are like 'thingHasFocus' or 'thingIsVisible' but what we want seems analogous to "resourceLangId == markdown" which is how you can show context menu items only on certain types of files in the explorer. Like I'm imagining "callStackItemType = stackFrame".
That might be too specific though. Besides that, 3 different contribution points might be ok. Maybe Johannes Rieken (@jrieken) has a better idea.
Activity
roblourens commentedon Jan 24, 2017
Isidor Nikolic (@isidorn) I don't think I can control this?
isidorn commentedon Jan 24, 2017
roblourens on my end I could only enable this context menu contributions on the stack frame elemnts but that feels a bit hackish. Extensions should be able to contribute some other actions to program / thread, so in a perfect world we would be able to specify somehow for what elements in the context menu should they be shown.
Having 3 different contribution points also feels a bit ugly, one for stack frame, one for thread, one for program
Johannes Rieken (@jrieken) suggestions are welcome
roblourens commentedon Jan 24, 2017
We could add a 'when' clause context?
https://code.visualstudio.com/docs/extensionAPI/extension-points#_contributesmenus
https://code.visualstudio.com/docs/customization/keybindings#_when-clause-contexts
isidorn commentedon Jan 24, 2017
roblourens I think the when clause was designed with something else in mind, like when in debug. It does not feel natural to me to add a context when 'stackFrameSelected'
roblourens commentedon Jan 24, 2017
Most of them are like 'thingHasFocus' or 'thingIsVisible' but what we want seems analogous to
"resourceLangId == markdown"which is how you can show context menu items only on certain types of files in the explorer. Like I'm imagining"callStackItemType = stackFrame".That might be too specific though. Besides that, 3 different contribution points might be ok. Maybe Johannes Rieken (@jrieken) has a better idea.
isidorn commentedon Jan 25, 2017
roblourens we can look into adding something like that in February
roblourens commentedon Nov 20, 2017
Is this realistic or should we close it?
isidorn commentedon Nov 21, 2017
Sure we can do this but I do not see the end for this in the immediate future since nobody else complained.
toggleSkippingFile only for stackFrame
toggle skipping file only for stackFrame
Only show context menu commands on stackframes - microsoft/vscode#19180
Revert "Only show context menu commands on stackframes - microsoft/vs…