QtCreator垂直移动文本快捷方式

时间:2019-05-14 21:05:10

标签: keyboard-shortcuts qt-creator

在Visual Studio和其他编辑器中,您可以使用 int val1 = -1223222022; int val2 = 2130200022; int result = compareTo(val1, val2); // This shows val1 > val2 if (result < 0) { System.out.println(val1 + " < " + val2); } else if (result > 0) { System.out.println(val1 + " > " + val2); } val1 = 1234450392; val2 = -2022030049; result = compareTo(val1, val2); //this shows val2 < val2 if (result < 0) { System.out.println(val1 + " < " + val2); } else if (result > 0) { System.out.println(val1 + " > " + val2); } } public static int compareTo(int a, int b) { return a - b; } + alt / up箭头键移动一行文本或一段代码。 QtCreator中有类似的快捷方式吗?

1 个答案:

答案 0 :(得分:0)

我不小心找到了快捷方式:

ctrl + Shift +