Bra*_*ein 2 eclipse hotkeys word-wrap
好吧,这是我第十次发生这种情况.
我在Eclipse中碰到了一些热键,并且它"包装了"所有我的代码!
示例(注意新行上的加号):
// Split the formula into two parts: bit/byte range, and formula.
try {
formulaParts = formulaAndBitPositions.split(",");
} catch (Exception e) {
msg("PD ERROR during decode: DPN=" + DPN
+ " formulaAndBitPositions=" + formulaAndBitPositions
+ " E= " + e.getMessage());
return;
}
Run Code Online (Sandbox Code Playgroud)
所以超过80个字符的每一行都被包裹了!grrrrrrrrr!
谁知道哪个可怕的可怕热键对此负责?
它可能是Ctrl+ Shift+ O(格式代码).
更新:抱歉,我的错误.它的Ctrl+ Shift+ F格式代码.Ctrl+ Shift+ O适用于组织代码.我经常混合它们.
| 归档时间: |
|
| 查看次数: |
1934 次 |
| 最近记录: |