MyEclipse中开发有必要的设置
一、tab 用空格来代替 1.Window->preference->java->codestyle new一个format出来再indentify选项卡上的general setting中的Tab policy选择spaces only 。Indentation size 选择4
2.Window->preference->MyEclips->Files and Editors->ASP and PHP->Encoding->选择UTF-8 Window->preference->MyEclips->Files and Editors->CSS->CSS Source->选择 Indent using spaces,Indentation size 选择4 Window->preference->MyEclips->Files and Editors->DTD->DTD Source->选择
Indent using spaces,Indentation size 选择4 Window->preference->MyEclips->Files and Editors->HTML->HTML Source->选择 Indent using spaces,Indentation size 选择4 Window->preference->MyEclips->Files and Editors->JSP->JSP Source->选择 Indent using spaces,Indentation size
选择4 Window->preference->MyEclips->Files and Editors->SQL->SQL Source->选择 Indent using spaces,Indentation size 选择4 等通过\.. Source 设置就可以全部是tab 用4个spaces 代替了。