(比如改变缩进,或者移动代码块)?
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只是将此方法与下一个方法交换,代码块也是如此
发布于 2012-11-05 16:08:20
ALT + Up/Down Arrow -用于Eclipse中的行缩进。
这将选择更多的行并将它们全部移动。
https://stackoverflow.com/questions/13228112
复制相似问题