Keyboard shortcut to “untab” (move a block of code to the left) in eclipse / aptana?

后端 未结 9 1507
没有蜡笔的小新
没有蜡笔的小新 2020-12-22 15:37

Well, hopefully the question is self-explanatory.

It\'s so easy to select a block of code and tab out, but how about the reverse?

Currently, I just search &a

相关标签:
9条回答
  • 2020-12-22 16:35

    In Pycharm Just use Shift+Tab to move a block of code left.

    0 讨论(0)
  • 2020-12-22 16:36

    This workaround works most of the time. It uses eclipse's 'smart insert' features instead:

    1. Control X to erase the selected block of text, and keep it for pasting.
    2. Control+Shift Enter, to open a new line for editing above the one you are at.
    3. You might want to adjust the tabbing position at this point. This is where tabbing will start, unless you are at the beginning of the line.
    4. Control V to paste back the buffer.

    Hope this helps until Shift+TAB is implemented in Eclipse.

    0 讨论(0)
  • 2020-12-22 16:37

    Shift-tab outdents again :)

    Here's where the standard shortcut keys are covered:

    http://wiki.eclipse.org/User_Interface_Guidelines#Standard_Accelerators

    You'll find many of the more esoteric ones here:

    http://wiki.eclipse.org/FAQ_What_editor_keyboard_shortcuts_are_available%3F

    0 讨论(0)
提交回复
热议问题