Eclipse 預設字體較小,長時間編碼易疲勞。透過 Preferences 即可自訂編輯器字型與大小。
設定步驟
- 開啟 Eclipse,選單列 Window → Preferences。
- 左側樹狀目錄展開:General → Appearance → Colors and Fonts。
- 右側清單找到 Basic → Text Font,點選後右側 Edit... 按鈕啟用。
- 在字型選擇視窗中,設定想要的字型、樣式、大小(建議 14-16pt),點擊「確定」。
- 依序確定關閉所有視窗,編輯器字型即時生效。
建議選擇等寬字型(如 Consolas、Monospace、DejaVu Sans Mono),程式碼對齊更整齊。