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
We now allows extension writer to contribute menu items. The next logical step is to allow user to configure their menus - this is analog to the keybindings-story. One idea is to have a menus.json file which defines your menus:
Reacted by Chris Dias, Fabian Lauer, Alessandro Fragnani, Nate Wang, BillDenton, Max Smirnov, Vittorio Romeo, Matt Bierner, Mike Surcouf, Fabio Spampinato and 283 more
Reacted by Brad Litterell, Shadab Zafar, Dmitry R, Cameron Murtagh, Manoj Baishya, Khalil Ouali, sahil48, Dan, Muhammad N ElNokrashy, Richard Karl Fuchs and 32 more
Reacted by Roberto Malatesta, Spyrex, Ryan-Hota, Zhuoqun Chen, Юрий Зубарев, Lemmingh, Lucas Pollice, Lee, clem, Iman Mahmoudinasab and 5 more
This extension adds two new context menus to the Explorer Viewlet:
Open New Workbench Here: Opens a new instance of VS Code scoped to the selected folder OR to the folder containing the selected file.
Reopen Workbench Here: Reopens VS Code scoped to the selected folder. This feature only works on folders, it has no effect when a file is selected.
now i want to add two new context menus to the Open New Workbench Here how do i do
Open New Workbench Here: Opens a new instance of VS Code scoped to the selected folder OR to the folder containing the selected file.
Reopen Workbench Here: Reopens VS Code scoped to the selected folder. This feature only works on folders, it has no effect when a file is selected.
now i want to add two new context menus to the Open New Workbench Here how do i do
I was just about to add a request to add this feature. It would be very useful to be able to extend the file tab menu, or add an additional menu bar. Any idea when this will be done? Thanks.
Most plugin authors don't use the context menu at all. They expect you to memorize their keyboard shortcuts, or bring up the command palette, search for a command, navigate to it, and press Enter.
It's way better if you put the power in the hands of the user and let them create their own context menu entries for when plugin devs come up short. That way, you don't need to remember anything, you right-click and select the command you want.
This especially helps for infrequently used plugins where you can't remember the plugin name or the command name.
Reacted by Jeff Du, George Aslanis, Weston, kenijo, Hamish MacDonald, Alexander, Brad Litterell, Judah Frangipane, Alan North, Saleh Rahimzadeh and 13 more
I really don't understand how this isn't like priority 1 in vs code. There are like 5 other open requests that seem to suggest the same thing. Debug toolbar placement is just down right infuriating, and placing buttons/other action items down in the status bar is just.... not good.
Reacted by kenijo, Aaron Hurley, Brad Litterell, Judah Frangipane, Cameron Murtagh, Amy de Buitléir, Saleh Rahimzadeh, Tambi Ashmoz, Mephisto5558, Chris Hopman and 5 more
While trying to include the officially supported „Go to Implementation” in the context menu (in #54317) this came up as a way this should be solved instead.
Johannes Rieken (@jrieken) Would you be willing to provide more mentoring instructions for the feature? I’d like to tackle this, but I mostly made miniscule PRs against vscode and I’m not that familiar with the codebase. Thanks!
Well, there are two kind of PRs. One is that "I kinda know how it should be done but I don't have the time to do it" and others are "I have no clue how to do it". User configurable menus is one of the latter and 'yes' I can coach a PR here but it requires planning on my side. It doesn't make sense for you to start on this while I am super booked with other things because I won't be able to provide useful advise then.
I'd like to suggest that Go To Implementation be returned to the context menu. The argument in #27403 (silenced) about it being useful only in a handful of places in a file is not true for C# projects which utilize dependency injection, which is very common for ASP .NET Core and similar.
I am happy to learn that this option is available in the Go menu, but had it been in the context menu, I would have discovered it months ago. Instead I just assumed it was an OmniSharp limitation.
hi Johannes Rieken (@jrieken), In addition to the actions in the editor that can be hidden, the right-click menu on the file tree or other places can hide this matter. Is there any progress?
#111163 and #106483 got closed as a duplicate of this, but #75930 isn't (instead closed as "out of scope"). Is removing context menu items in or out of scope for this feature request? If it's out of scope here, why is 111163 closed as a duplicate of this? If it's in-scope, why isn't 75930 closed as a duplicate of this?
And if it's in-scope, how would this feature request support it? Would it be like keybindings.json, where you can prefix something with a "-" to say that that keybinding should be unbound?
Also, how is the text shown for the item in the context menu configured? Or is it just taken from the command's display name?
Reacted by Chris Hopman, Colin Conwell, sanmaodo, Christopher Byler, Arthur, josephmyers, Louis Orleans, Adriano M., Marek Grzenkowicz, Vinícius Feitosa da Silva and 10 more
Really need more support for this functionality, even as simple as a regex option to hide certain configurations. Many extensions add to this menu with duplicated functionality in the command palette. My right-click menu requires serious scrolling to find some common-use functionality without a hotkey.
I guess an extension-possible bypass of the issue is to define a submenu button as the first option, which contains a list of user-allowed commands, but I doubt its HCI design.
Reacted by Diana, Zhuoqun Chen, Felix Becker, Liam Stanley, Szevin, immails, Emil Lewandowski, spirit, Efrain Nava, Юрий Зубарев and 6 more
Today I opened the context menu, but my mouse slipped and I clicked on "Close saved". Boom, 15 tabs all gone. That was the only time I ever used that entry, so it would be nice if I could hide it. We could also review potentially dangerous items on the context menu and add a bit of friction/confirmation to prevent accidental triggers
(Ctrl+Shift+T did not restore all of them because some are passively opened since forever like the readme or a private notes file)
Reacted by Ilya Borisov, Dmitry, Юрий Зубарев, Diana and Gilles Lepretre
Maybe just start with something simple. Allow hiding menu entries.
My right-click menu is as long as the height of my monitor. I don't need 70% of those entries. Just allow to hide some. That would already be a huge win.
Reorganization and submenus can come later.
Reacted by Ilya Borisov, Gary Glass, Adriano M., Iman Mahmoudinasab, Mitoma, Diana, chrisbakerstallcouk, Cal, xypha, Louis Duret-Robert and 2 more
Second this. I recently cleaned up my Windows context menus and now these are actually easy and useful. VSCode has exactly the same issue where menus are commons filled with crap you can't control and don't need.
While these aren't official solutions, I've found this extensions claiming to allow you to customize your context menu, both adding and removing items from it. One said they used AI to make it, but regardless I'm sure someone can find some use with them, I've yet to test any of them. Extension 1 Extension 2
That's all I got, see you guys at the 20 year anniversary! 🥳🎉
Reacted by Ilya Borisov, Diana, Cal and Brendan LeVoy
Reacted by Ilya Borisov, chrisbakerstallcouk, Simonas G, Louis Duret-Robert, zowchi, catreplicators, Damien Flament, RoestVrijStaal, Sup#2.0, healthyfat and 2 more
Activity
jrieken commentedon Jul 14, 2016
fyi - Erich Gamma (@egamma) Chris Dias (@chrisdias) Sean McBreen (@seanmcbreen)
jrieken commentedon Jul 28, 2016
related to microsoft/vscode-python#9827
ydcoming commentedon Sep 8, 2016
This extension adds two new context menus to the Explorer Viewlet:
now i want to add two new context menus to the Open New Workbench Here how do i do
ydcoming commentedon Sep 8, 2016
Johannes Rieken (@jrieken)
This extension adds two new context menus to the Explorer Viewlet:
Open New Workbench Here: Opens a new instance of VS Code scoped to the selected folder OR to the folder containing the selected file.
Reopen Workbench Here: Reopens VS Code scoped to the selected folder. This feature only works on folders, it has no effect when a file is selected.
now i want to add two new context menus to the Open New Workbench Here how do i do
BillDenton commentedon Jan 11, 2017
I was just about to add a request to add this feature. It would be very useful to be able to extend the file tab menu, or add an additional menu bar. Any idea when this will be done? Thanks.
manad777 commentedon Apr 6, 2017
This feature would be really good.
Most plugin authors don't use the context menu at all. They expect you to memorize their keyboard shortcuts, or bring up the command palette, search for a command, navigate to it, and press Enter.
It's way better if you put the power in the hands of the user and let them create their own context menu entries for when plugin devs come up short. That way, you don't need to remember anything, you right-click and select the command you want.
This especially helps for infrequently used plugins where you can't remember the plugin name or the command name.
JFDu commentedon Apr 8, 2017
Great ...
ronnyek commentedon Aug 16, 2017
I really don't understand how this isn't like priority 1 in vs code. There are like 5 other open requests that seem to suggest the same thing. Debug toolbar placement is just down right infuriating, and placing buttons/other action items down in the status bar is just.... not good.
Xanewok commentedon Jul 19, 2018
While trying to include the officially supported „Go to Implementation” in the context menu (in #54317) this came up as a way this should be solved instead.
Johannes Rieken (@jrieken) Would you be willing to provide more mentoring instructions for the feature? I’d like to tackle this, but I mostly made miniscule PRs against vscode and I’m not that familiar with the codebase. Thanks!
jrieken commentedon Jul 19, 2018
Well, there are two kind of PRs. One is that "I kinda know how it should be done but I don't have the time to do it" and others are "I have no clue how to do it". User configurable menus is one of the latter and 'yes' I can coach a PR here but it requires planning on my side. It doesn't make sense for you to start on this while I am super booked with other things because I won't be able to provide useful advise then.
TomasHubelbauer commentedon Mar 7, 2019
I'd like to suggest that Go To Implementation be returned to the context menu. The argument in #27403 (silenced) about it being useful only in a handful of places in a file is not true for C# projects which utilize dependency injection, which is very common for ASP .NET Core and similar.
I am happy to learn that this option is available in the Go menu, but had it been in the context menu, I would have discovered it months ago. Instead I just assumed it was an OmniSharp limitation.
20 remaining items
yiliang114 commentedon Jan 17, 2023
hi Johannes Rieken (@jrieken), In addition to the actions in the editor that can be hidden, the right-click menu on the file tree or other places can hide this matter. Is there any progress?
starball5 commentedon Oct 29, 2023
#111163 and #106483 got closed as a duplicate of this, but #75930 isn't (instead closed as "out of scope"). Is removing context menu items in or out of scope for this feature request? If it's out of scope here, why is 111163 closed as a duplicate of this? If it's in-scope, why isn't 75930 closed as a duplicate of this?
And if it's in-scope, how would this feature request support it? Would it be like keybindings.json, where you can prefix something with a "
-" to say that that keybinding should be unbound?Also, how is the text shown for the item in the context menu configured? Or is it just taken from the command's display name?
Related on Stack Overflow:
CoronRing commentedon May 22, 2025
Really need more support for this functionality, even as simple as a regex option to hide certain configurations. Many extensions add to this menu with duplicated functionality in the command palette. My right-click menu requires serious scrolling to find some common-use functionality without a hotkey.
I guess an extension-possible bypass of the issue is to define a submenu button as the first option, which contains a list of user-allowed commands, but I doubt its HCI design.
Mystic8b commentedon Aug 24, 2025
Issue created in 2016, oh boy...
iamqiz commentedon Aug 28, 2025
2025-2016=9 years passed 😂
fabian-st commentedon Aug 30, 2025
Would be really nice to have this
NickScarpitti commentedon Nov 6, 2025
Glad to see this is already a request, wish it would happen sooner rather than later though.
YikChingTsui commentedon Jan 30, 2026
Today I opened the context menu, but my mouse slipped and I clicked on "Close saved". Boom, 15 tabs all gone. That was the only time I ever used that entry, so it would be nice if I could hide it. We could also review potentially dangerous items on the context menu and add a bit of friction/confirmation to prevent accidental triggers
(Ctrl+Shift+T did not restore all of them because some are passively opened since forever like the readme or a private notes file)
Chudroy commentedon Feb 23, 2026
Happy 10th birthday to a very basic QoL issue!
PawelWozniak commentedon Apr 3, 2026
Maybe just start with something simple. Allow hiding menu entries.
My right-click menu is as long as the height of my monitor. I don't need 70% of those entries. Just allow to hide some. That would already be a huge win.
Reorganization and submenus can come later.
Klaster1 commentedon Apr 3, 2026
Second this. I recently cleaned up my Windows context menus and now these are actually easy and useful. VSCode has exactly the same issue where menus are commons filled with crap you can't control and don't need.
MatheusFS-dev commentedon Apr 18, 2026
I support this. At minimum, users should be able to hide unwanted context menu entries to reduce clutter and prevent accidental clicks.
DatBoi302 commentedon May 6, 2026
Nicolás Garitagoitia (@Chudroy) Insane, can't believe this issue can be that old, and Shashi Kiran (@bshashikiran) obvious valid point feels glossed over.
While these aren't official solutions, I've found this extensions claiming to allow you to customize your context menu, both adding and removing items from it. One said they used AI to make it, but regardless I'm sure someone can find some use with them, I've yet to test any of them.
Extension 1
Extension 2
That's all I got, see you guys at the 20 year anniversary! 🥳🎉
jasonfirkus commentedon May 13, 2026
how is this still not a thing 10 years later