首页 新闻 赞助 找找看

Xml的配置提示

0
悬赏园豆:40 [已关闭问题] 关闭于 2016-10-14 17:01

请问, 我在配置spring的xml的时候。标签有提示,标签里的属性 name  value这些也有提示!但是请问,怎么能够提示 属性的值的呢?

 

比方说  我定义一个class=“ ”  我快捷提示 能给我提示class的path出来!  或者 name=““ 它能给我提示 对象中的某一个 成员变量名 求真相  求老司机 教我 

问题补充:

我这是eclipse  win7  64的!求指点!!!!

marvin719的主页 marvin719 | 初学一级 | 园豆:35
提问于:2016-10-10 23:06
< >
分享
所有回答(2)
0

我用的idea 你可以试试

jgig11 | 园豆:338 (菜鸟二级) | 2016-10-11 09:30
0

windows-->preference--->myeclipse--->files and editors-->xml--->xmlcatalog

点击add ,在出现的窗口中的 Key Type 中选择URI,在location中选择File system,然后再spring解压目录中的

dist/resources 目录中选择spring-beans-2.5.xsd,回到设置窗口的时候,不要着急关闭窗口,

应该把窗口中的

Key Type改为Schema location ,

Key 改为http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

tianjie123 | 园豆:112 (初学一级) | 2016-10-11 10:13
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册