News:

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

Main Menu

RFC: Editor context menu item reshuffle

Started by oBFusCATed, February 04, 2018, 04:19:19 PM

Previous topic - Next topic

oBFusCATed

There are many complaints that the cut/copy/paste menu items are in the edit submenu in the context menu for the editor.
This was probably done to minimize the size of the menu, because when all plugins are enabled it is really huge.

I've experimented a bit to make it smaller.
What I've done is:
1. remove items that are duplicated with the tab menu.
2. remove most of the separators
3. fix the find menu items to always be on the top
4. merge code refactor and insert menus in a single insert/refactor menu

The changes are available in this branch https://github.com/obfuscated/codeblocks_sf/tree/experiments/editor_context_menu

Can you please test them and provide me with some feedback about the changes?
I've not used this much, so I'm not 100% sure that all removed menu items will be committed removed, but we'll see.
(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!]

stahta01

A very slight testing under Windows 32 bit/wxWidgets 2.8.12.

It looks OK; and, after I found the options I normally used under right click on tab I think it is OK.
But, I do not use CB as an editor except for fixing build errors; so, I am a poor reviewer.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

BlueHazzard

looks fine here...
windows 7, wx31, wx 30

(I am nor really happy with removing "swap header", but i use the short key mostly, so it is not that bad...)

stahta01

Quote from: BlueHazzard on February 06, 2018, 01:49:58 PM
looks fine here...
windows 7, wx31, wx 30

(I am nor really happy with removing "swap header", but i use the short key mostly, so it is not that bad...)

"swap header" is still on the right click tab menu.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

Quote from: BlueHazzard on February 06, 2018, 01:49:58 PM
(I am nor really happy with removing "swap header", but i use the short key mostly, so it is not that bad...)
Can you try to retrain yourself to use the item in the tab menu and then tell me if you were able to do it?
(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!]

BlueHazzard

Quote"swap header" is still on the right click tab menu.
yes, but it is a long way to the top of the screen if you work at some code at the bottom ;)

QuoteCan you try to retrain yourself to use the item in the tab menu and then tell me if you were able to do it?
As i said, it is not really i difference, because mostly i use the keyboard. I hit this problem only if i am to lazy to reach the keyboard, so no complain from my side. And i would prefer a more clean context menu.

oBFusCATed

I'm using this patch for a while and I don't find the change annoying, so my plan is to commit the changes, soon.
If you have objections now is the time to speak up...
(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!]

oBFusCATed

No objections, so the change is in svn now...
Waiting for a nightly to unleash it on the world.
(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!]