How to customize context menu in Visual Studio Code?
问题 Is it possible to customize context menu in Visual Studio Code ? Currently it looks like this. I need to add two more menu options to this. Something like "Go Back" and "Go Forward". Can this be done ? 回答1: Yes, an extension can add menu items to the context menu: in package.json , add a contributes.menus section. The text editor context menu is called editor/context . An example of an extension that does this is Bookmarks, which adds three context menu entries. The relevant parts of its