Eclipse 每行 79 字符限制的提示線

Python 的 PEP 8 中建議每行代碼不操過 80 個字符,不少 Python 的編輯器 都支持這種提示線功能(例如 WingIDE),下面介紹如何在 Eclipse 中顯示這種提示線。 打開 Eclipse, Windows -> Prefereces -> General -> Editors -> Text Editors 勾選上 Show print margin Print margin column 的值設置爲 79, 即在第79個字符後面顯示一條豎線。
相關文章
相關標籤/搜索