【问题标题】:Aptana Studio:: Un-Indent block of codeAptana Studio:: 取消缩进代码块
【发布时间】:2013-11-23 19:42:53
【问题描述】:

我正在使用 Aptana Studio for Mac,想知道如何选择代码块并删除缩进/空格。我知道你可以选择一段代码并点击 tab 按钮来缩进它,但如果有意义的话,我需要做相反的事情。

例子:这个:

    if() {
        if(){

        }
    }

变成这样:

if() {
    if(){

    }
}

【问题讨论】:

  • Shift + Tab 能用吗?
  • 是的,非常感谢

标签: ide formatting aptana indentation aptana3


【解决方案1】:

感谢@pallandt,答案已发布在 cmets 中

Shift + Tab

【讨论】:

    【解决方案2】:

    When multiple lines are selected, Tab and Shift-Tab indent and dedent these lines.

    当未选择任何内容时,TabShift-Tab 插入或删除空格以在制表符边界上对齐光标。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-10-15
      • 1970-01-01
      • 2013-05-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多