eclipse中一些设置&配置项

时间:2023-03-09 06:32:10
eclipse中一些设置&配置项

在学习过程中出现的一些问题,以备忘:

1.eclipse中手动生成项目目录结构

                按照这个项目结构建立文件夹,build path -configure build path -source 删掉不符合的结构,然后build path-use as source folder.

  2.eclipse中的补全

          (1)java 补全

windos->preference->输入搜索content assit ->  java  content Assist ->   Auto activation triggers for java 输入键盘上的字母和标点(开始保留点号)

               (2) xml 补全

windos->preference->输入搜索content assit ->  xml  content Assist ->   prompt when these character are inserted 输入键盘上的小写字母&大写字母(等号之后输入,并且最后一行为空格)

如果在配置文件时属性没有补全,登录:http://spring.io/tools/sts/all 看eclipse对应的插件版本;Help-->Install New Software-->work with 中输入http://dist.springsource.com/release/TOOLS/update/e4.3/ ,回车等待片刻;name 中勾选;在eclipse中进行插件的安装时,只选择: XXX/Spring IDE的;在eclipse中进行插件的安装时,不需要联网更新;点击accept(接受),然后一路next就成;安装完成后,会提示重启。重启后,Spring IDE出现在欢迎界面