一、编码设置:
1:对工作区workspace进行编码设置,window-->preferences 设置 如下图:

-------------------------------------
2:对工程project进行编码设置 工程名 右键 properties 设置如下图:

-------------------------------------
3:但此时你会发现设置了这两情况之后还是会出现乱码,因为上面这两种方式只是对text类型的文件编码进行了设置。其他的(如jsp)等的编码还是默认的(可能与workspace和project所设置的编码不一样,如ISO-8859-1)。此时,我们需要对内容类型(ContentType)下的各种类型的文件(如jsp、html...)进行设置,window-->preferences 如下图:

-------------------------------------
二:eclipse 方法自动提示设置:
window-->
三:相同变量名高亮显示设置:
window-->
四:文件默认打开方式设置:
window-->
Over.
posted on 2010-01-14 10:58
3ant 阅读(979)
评论(0) 编辑 收藏