User forums > Help

small feature request

(1/3) > >>

yckx:
This isn't really applicable to the Troubleshooting forum, but I find it even less applicable to the others.  I'd like to have cut/copy/paste functionality added to the RMB popup menu.  It seems a small thing, but it would be really nice to highlight, right-click, select copy, click where I want it, right click, select paste, all without having to move back and forth from mouse to keyboard and back.

I've said this before, but I really like this IDE ;) Don't let my issues be mistaken for dislike.

takeshimiya:
It is already there, in the RMB->Edit->Copy/Paste/etc.

However, this RMB menu (context-menu) is becoming too cluttered...

yckx:
Ah, I missed it; I was looking for it in the top-level popup.  Silly me :P

However, if I have text selected, it deselects when I right-click, so I can't copy anything with it  :?

takeshimiya:
If I remember well that bug is fixed in CVS.

Back to the context-menu...

    The context-menu is heavy cluttered, and it isn't user configurable.
    The most common actions (Copy, Paste, Select All, ...) are located in the submenu Edit... which
    indicates the heavy grade of clutter of the menu, and in this case it's not so intuitive. :P

    The "Locate in..." of the Help Plugin doesn't seems to be a good thing because with every
    helpfile added it "helps" to clutter even more this menu, but too bad I can't think of any
    place better for it (maybe putting it in a submenu...?).

Currently the menu is:


--- Code: ---    Toggle breakpoint
    Run to cursor
    ------
    Find declaration of: 'text'
    ------
    Close
    Close all
    Close all others
    ------
    Save
    Save all
    ------
    Switch to...
    Insert...
    ------
    Swap header/source
    ------
    Edit...
    Bookmarks...
    Folding...
    ------
    Locate in Help1
    Locate in Help2
    ------
    Add To-Do item...
    ------
    Configure editor
    ------
    Properties
--- End code ---

A possible solution:
    Altrough this is a subject to change always over the time...
    To remove some clutter of it I would change the context-menu to something like:


--- Code: ---    Toggle Breakpoint
    Run to Cursor
    ------
    Cut
    Copy
    Paste
    ------
    Select All
    ------
    Find Declaration of: text
    Swap Header/Source
    ------
    Insert Code Template...
    ------
    Locate in Help1
    Locate in Help2
    ------
    Add To-Do Item...
    ------
    Properties
    ------
    Close
--- End code ---


What do you think?

thomas:
The deselection bug has been fixed in CVS a week or two ago.

Generally, to work efficiently with Code::Blocks, it is advisable to follow the same basic guideline that is valid for almost every program: No matter what happens, always leave your left hand on the keyboard.

This way, you can for example type Strg-C / Strg-V while selecting and moving the cursor with the mouse, this is a lot faster and more convenient than anything else, and it allows you to type on without any further interruption, too.

Navigation

[0] Message Index

[#] Next page

Go to full version