circuitjs1 icon indicating copy to clipboard operation
circuitjs1 copied to clipboard

Add command search menu with "/" shortcut

Open maximedrouhin opened this issue 4 years ago • 2 comments

Hi! I would love to see a quick search functionnality. It would show in the File menu like this: File menu of circuitjs with an added option for quick search

And it would display a text field, such that, when you type in it, up to 5 (for example) actions matching the typed string best are displayed just below are shown. Such a functionnality is available in many editing software nowadays. Here are two examples.

GIMP: Quick search in GIMP

Google Docs : Capture d’écran de 2021-11-08 18-13-40

For example, to add static RAM, I would just need to press /, type static RAM and press enter.

Due to a few similar option names in the menus, it may be a good idea to not only show the option name but also the successive clicks the user could have made to access the option manually. In the previous example, the first option could be Add static RAM with subtitle Draw > Numeric integrated circuit and the second Static RAM with subtitle Circuits > Sequential logic.

maximedrouhin avatar Nov 08 '21 17:11 maximedrouhin

Sorry, I couldn't add the "enhancement" label.

maximedrouhin avatar Nov 08 '21 17:11 maximedrouhin

You can search for components now, but not other menu items like circuits.

pfalstad avatar Dec 21 '21 19:12 pfalstad