1.設置字體
一般主要設置下面三個地方(其他可以按需進行設置):
Window->Preferences->(可以直接搜索font)General -> Appearance ->Colors and Fonts –>Java ->Java Editor Text Font
Window->Preferences->(可以直接搜索font)General -> Appearance ->Colors and Fonts –>Java ->Properties File Editor Text Font
Window->Preferences->(可以直接搜索font)General -> Appearance ->Colors and Fonts –>Debug -> console font
Window->Preferences->(可以直接搜索font)General -> Appearance ->Colors and Fonts –>Basic –> Text Font可以修改xml文件的字體格式
2.設置編碼格式
參考:https://blog.csdn.net/qq_16759443/article/details/83002375
主要是整個工作空間設置UTF-8以及java文件、xml文件、properties文件等設置UTP-8.
3.設置快捷提示
eclipse –>Windows ->Preferences ->Java ->Editor ->Content Assist,然后修改Auto Activation triggers for java的值為:.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,點擊apply按鈕。
4.Java環境變量及Maven配置文件等
參考:https://blog.csdn.net/qiaorui_/article/details/78424491
5.直接應用已配好的Eclipse工作空間的配置
參考:https://blog.csdn.net/y41992910/article/details/79009159
將workspace/.metadata/.plugins/org.eclipse.core.runtime中的.settings文件夾拷貝出來,里面就是所有的配置文件,新建工作空間的時候將該.settings文件夾替換掉新工作空間中的.settings文件夾即可。