Open ck97756 opened 1 month ago
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!
At least when using native menus, we do not seem to be able to detect that:
For custom menus, I am not sure if we have logic to detect option or middle click, maybe @sbatten or @benibenj could advise.
We only get two types of events from the menu, Click
and Close
.
For the Click
event we only get the itemId: number
and context: IContextMenuEvent
export interface IContextMenuEvent {
shiftKey?: boolean;
ctrlKey?: boolean;
altKey?: boolean;
metaKey?: boolean;
}
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Middle click usually means open in new window Currently (VSCode version: 1.90.2) in menu File -> Open Recent When you middle click the item in the list It will open in the current window