question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

User configurable menus

See original GitHub issue

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:

{
  "editor/context": [
  {
    "command": "my command",
    "when": "editorHasSelection"
  },
  {
   // more..
  }
  ],
 "explorer/context": [
   // more ...
  ]
}

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:106
  • Comments:29 (9 by maintainers)

github_iconTop GitHub Comments

9reactions
manad777commented, 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.

7reactions
mhwombatcommented, Dec 9, 2022

This feature is essential to me. I don’t want to have to memorise dozens of key bindings. Being able to customize key bindings isn’t enough; I work with too many languages, types of documents, etc. to remember key bindings for even common tasks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 9. User-Configurable Menu - Kile
Kile supports a user-configurable menu, which will appear as a part of Kile's menu. This menu can be configured using Kile's configuration dialog...
Read more >
Configure custom menus for Unified Navigation
Create custom menus that appear in the Unified Navigation that contain just what the users need, to increase productivity and efficiency.
Read more >
How to Create Area Menu and User Menu in SAP?
This tutorial explains how to create an area menu and user menu in SAP. SAP Menu is an area menu that is centrally...
Read more >
Configuration Menu
The Configuration menu gives system administrators access to all administration components of Taleo Enterprise products in one centralized menu.
Read more >
Configure Menu Item Basic Details
The Menu Items tab of the User Interface Configuration option enables you to make changes or additions to the items available in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found