onlyliuxin / coding2017

218 stars 643 forks source link

在eclipse中编辑代码,标签内属性名自动提示,属性值则没有提示,该怎么做? #548

Closed woshishitou closed 3 years ago

woshishitou commented 7 years ago

就是说能提示出这种属性 ,但是不能提示像 <property name="这里面的值就不能提示",请大神帮忙,需要什么插件。 在xml、jsp中都是这样,在属性值内按 alt+/ 出现如下提示: Content Assist not available at the current location 有时候要在属性值里写上jar包中的类名,没有提示会很麻烦。 已经百度和谷歌过,都没有找到解决方案。 谢谢大家了。

woshishitou commented 7 years ago

修正一下,现在知道了jsp页面没有提示是因为当时没有导入相应的标签库,但是xml文件还是存在之前描述的问题。

gqipan commented 7 years ago

@woshishitou XML 需要导入xsd 才有