现在的位置: 首页 > 综合 > 正文

eclipse,myeclipse 设置,编码,tab用空格

2013年09月02日 ⁄ 综合 ⁄ 共 771字 ⁄ 字号 评论关闭

 

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 代替了。

抱歉!评论已关闭.