Author Topic: RFC: Editor context menu item reshuffle  (Read 4230 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
RFC: Editor context menu item reshuffle
« on: February 04, 2018, 04:19:19 pm »
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!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7576
    • My Best Post
Re: RFC: Editor context menu item reshuffle
« Reply #1 on: February 04, 2018, 09:12:42 pm »
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: RFC: Editor context menu item reshuffle
« Reply #2 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...)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7576
    • My Best Post
Re: RFC: Editor context menu item reshuffle
« Reply #3 on: February 06, 2018, 01:52:08 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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: RFC: Editor context menu item reshuffle
« Reply #4 on: February 06, 2018, 06:54:12 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!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: RFC: Editor context menu item reshuffle
« Reply #5 on: February 08, 2018, 12:45:40 am »
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 ;)

Quote
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?
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: RFC: Editor context menu item reshuffle
« Reply #6 on: February 21, 2018, 10:35:31 am »
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!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: RFC: Editor context menu item reshuffle
« Reply #7 on: March 10, 2018, 12:06:28 pm »
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!]