ECLIPSE插件安裝,防亂碼
eclipse classic 是eclipse的標(biāo)準(zhǔn)版:標(biāo)準(zhǔn)版;Eclipse Classic的帶有source
建議使用Eclipse Classic,需要插件自己安裝配置即可
安裝相應(yīng)插件:
1.安裝wtp,方便web開(kāi)發(fā)
打開(kāi)菜單help->Install new Software,單擊“add..”按鈕,彈出框的name和location都填入“http://download.eclipse.org/webtools/updates/”,等待一會(huì),勾選“Web Tools Platform (WTP) 3.1.2”
2.安裝“java decompiler”
打開(kāi)菜單help->Install new Software,單擊“add..”按鈕,彈出框的name和location都填入“http://java.decompiler.free.fr/jd-eclipse/update”,等待一會(huì),勾選“Java Decompiler Eclipse Plug-in”,按向?qū)нM(jìn)行安裝。
相關(guān)配置:
1.統(tǒng)一設(shè)置為utf-8編碼,Window->Preferences->General->Workspace->Text file encoding->Other->UTF-8。
2.修改jsp等默認(rèn)編碼為utf-8,打開(kāi)Window->Preferences->Web->Jsp Files,修改右面的encoding為(utf-8)。
3.統(tǒng)一設(shè)置為utf-8編碼,Window->Preferences->General->Content Types,在右面選擇“Text”,在default encoding輸入“UTF-8”,點(diǎn)“update”按鈕更新。
經(jīng)過(guò)配置后,所有的新建的java、jsp、txt、html、xml、文件夾等編碼都是utf-8,這樣在jsp、html等文件中設(shè)定編碼為utf-8,可以避免亂碼。
posted on 2012-12-06 15:10 半導(dǎo)體 閱讀(318) 評(píng)論(0) 編輯 收藏 所屬分類(lèi): Eclipse