This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keyboard Shortcuts

Hi,
I did not find a keyboard shortcut for moving a line in the µVision editor.
Can anyone tell me how to move lines quickly without copy/paste?

Regards,
Martin

Parents
  • Mouse drag-and-drop?

    Why must there be a dedicated keyboard shortcut to move a line?
    Wouldn't that then also require another dedicated keyboard shortcut to move two lines?
    And one to move 17 lines?

    Almost like "17dd9jp" in VI?

    But if that is what you want, then maybe VI is a suitable editor?

Reply
  • Mouse drag-and-drop?

    Why must there be a dedicated keyboard shortcut to move a line?
    Wouldn't that then also require another dedicated keyboard shortcut to move two lines?
    And one to move 17 lines?

    Almost like "17dd9jp" in VI?

    But if that is what you want, then maybe VI is a suitable editor?

Children
  • I am used to editors like Notepad++ and Eclipse, not having the tool to move lines feels like stone age to me.
    If you want to move 17 lines just select 17 lines, press e.g. Ctrl+Shift+ArrowUp/Down for Notepad++ and you're done without taking your hands off your keyboard. For moving just one line you don't have to select anything, just press the key shortcut.

    Using an external editor is no option for me because while debugging I cannot view variable states easily.