2
我在Windows Vista上運行indigo版本。
我已經將通用 - >編輯 - >文本編輯器中的打印邊距和Java中的最大線寬 - >代碼樣式 - >格式化程序設置爲100個字符,但仍然決定將我的註釋打包在第80列。Eclipse 3.7行包裝早評
例如,當這是在我的文件的頂部類型的:
(最長行分別爲90首94個字符)
// This comment is over 80 characters long, but it is in no way over 100 characters long.
/*
* The same problem occurs in block comments as well. True, neither problem is code breaking,
* but it certainly is annoying all the same.
*/
它被格式化爲:
(線73首79個字符分別)
// This comment is over 80 characters long, but it is in no way over 100
// characters long.
/*
* The same problem occurs in block comments as well. True, neither problem is
* code breaking,
* but it certainly is annoying all the same.
*/
我已經嘗試重新啓動Java,並擊中了每個「應用」按鈕,我可以找到,但無濟於事。它似乎並未在發行說明中列爲已知問題。有什麼我失蹤?也許簡單一點?
3.7中沒有單獨的行寬設置,或者至少我沒有看到它。不管怎麼說,還是要謝謝你。 – Obbl