eclipse没有给CTRL + Space提供任何帮助 [英] eclipse not giving any help on CTRL + Space
问题描述
当我在eclipse中使用.jsp文件给我的帮助标签...
When I was using .jsp file in eclipse was giving me help for tags...
我在哪里添加taglibs ...
Where I was adding taglibs...
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
现在,我将 .jsp
转换为 .xhtml
其中我不能添加taglib以上,我必须使用
Now I converted .jsp
to .xhtml
in which I can't add above taglibs instead I have to use
<html xmlns="http://www.w3c.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui">
在这种情况下,eclipse没有给我任何关于CTRL + Space的帮助。
有没有办法启动这些帮助?
In this case eclipse doesn't give me any help on CTRL + Space. Is there any way to start those help?
推荐答案
Eclipse没有buitin Facelets工具(还)。到目前为止,只有 Glassfish Server plugin 和 JBoss Tools插件附带Facelets工具。
Eclipse doesn't have buitin Facelets tooling (yet). So far only the Glassfish Server plugin and the JBoss Tools plugin comes with Facelets tooling.
根据您的前一个问题你正在使用Tomcat,所以JBoss Tools应该做(实际上比其它功能更丰富Glassfish服务器插件)。在Eclipse中进入帮助>安装新软件。假设您正在使用当前的Eclipse Indigo SR2版本,请在其中输入以下URL:
Based on your previous question you're using Tomcat, so JBoss Tools should do (and it is actually more feature rich than the Glassfish Server plugin). Go in Eclipse to Help > Install New Software. Assuming that you're using the current Eclipse Indigo SR2 version, enter the following URL in there:
等待选项列表加载,最后选择并安装JBoss Web和Java EE开发选项。
Wait until the list of options loads and finally pick and install the "JBoss Web and Java EE Development" option.
与具体问题无关,根据您之前的安装PrimeFaces 3.2的问题。但是,您使用的是旧的PrimeFaces 2.x XML命名空间URI。修复它:
Unrelated to the concrete problem, based on your previous question you've installed PrimeFaces 3.2. But yet you're using the old PrimeFaces 2.x XML namespace URI. Fix it as well:
xmlns:p="http://primefaces.org/ui"
这篇关于eclipse没有给CTRL + Space提供任何帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!