Eclipse で Intellij ステートメント単位の ctrl+shift+up ctrl+shift+down 行の動きをシミュレートする方法はありますか? (インデントの変更やコード ブロックの移動など)?
UPD、申し訳ありませんが、alt up/down は実際にインデントを変更します。しかし、次はどうでしょうか。
@Override
protected void onStart() {
super.onStart();
if(currentPath == null || currentPath.length() == 0) {
showDirectoryView(settings.getRootUri());
}
}
カーソルはメソッド宣言の上に立ち、alt down を使用します
@Override
super.onStart();
protected void onStart() {
if(currentPath == null || currentPath.length() == 0) {
showDirectoryView(settings.getRootUri());
}
}
Intellij は、このメソッドを次のメソッドと交換するだけです。コード ブロックについても同じです。