修改eclipse工具的文本編碼方法

1、Window ——> Preferences ——> General ——> Content Types:
右邊:(1)修改 Java Class File 的 Default encoding 爲 UTF-8。 ——> 單擊 Update 按鈕
(2)Text ——> 修改改 Java Source File 的 Default encoding 爲 UTF-8。 ——> 單擊 Update 按鈕

2、Window ——> Preferences ——> General ——> Workspace:
右邊:(1)Text file encoding 修改爲 UTF-8 。 ——> Apply ——> OK


如何修改Eclipse註釋中的@author所關聯的值:
Window ——> Preferences ——> Java ——> Code Style ——> Code Templates
——> 右邊 ——> Comments ——> Types 下修改。
發佈了30 篇原創文章 · 獲贊 4 · 訪問量 6萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章