开发者

Eclipse Java Editor line wrapping not as expected

开发者 https://www.devze.com 2023-03-05 13:30 出处:网络
I have following lines of code that just don\'t want to be wrapped: tran = TransactionFactory.generateDoubleEntryTransaction(cAcc, acc, qTran.amount, qTran.date, qTran.memo, qTran.payee, qTran.number

I have following lines of code that just don't want to be wrapped:

        tran = TransactionFactory.generateDoubleEntryTransaction(cAcc, acc, qTran.amount, qTran.date, qTran.memo, qTran.payee, qTran.number);
        logger.info("Different currencies, Credit开发者_如何学Python: " + entry.getCreditAmount() + " " + creditCurrency.getSymbol() + " -> " + entry.getDebitAmount() + " " + debitCurrency.getSymbol());

Both lines are 150 respective 190 chars long. In my Code formatting settings the maximum line length is set to 100, the Line wrapping settings for Function Calls are all set to "Wrap when necessary". In the preview pane at least it looks like right. Just it doesn't wrap.

I'm using Eclipse 3.6.2 here.


You have to press CTRL+SHIFT+F

0

精彩评论

暂无评论...
验证码 换一张
取 消