News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Is it possible to change contect menu order?

Started by hypo, March 17, 2021, 10:00:25 AM

Previous topic - Next topic

hypo

Hello

I recently switched from CB 17.12 to 20.03 (Windows) after replacing my computer, and the only "challenge" I am facing, although quite minor, is the change in context menu order.

I frequently use the "Find occurrences" function, and I often work without a mouse on my laptop (mainly only keyboard).
But in version 20.03, the order of the Context Menu has changed, as least compared to my setup on 3 different computers.
Before, the Find menus were ordered as:
- Declaration
- Implementation
- Occurrences
- Functions called by
- Functions calling
- References

Now it is:
- Declaration
- Implementation
- References
- Functions called by
- Functions calling
- Occurrences

Is it possible to customize this order, or remove some items from this menu (specifically the* Functions*) ?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

hypo

Thanks for the answer.

And no possibility with an additional plugin?
I just saw this in the release note:
Quotesdk: Add API for sorting menu items in the editor's context menu (modify all plugins to use it)

oBFusCATed

This API sorts menu items added by plugins, so the order in the menu doesn't depend on the order of initialization of the plugins. It is not an API to allow some plugin to control the order or the availability of the items in the menu.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]