Eclipse Neon Content Assist没有JavaScript的建议 [英] Eclipse Neon Content Assist has no proposals for JavaScript
本文介绍了Eclipse Neon Content Assist没有JavaScript的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
底线向前:Eclipse霓虹灯内容辅助(Ctrl +空格)不提供任何关于我的JavaScript代码的建议。
Bottom Line Up Front: Eclipse Neon content assist (Ctrl+space) does not offer any proposals for my JavaScript code.
这是我到目前为止检查过的:
Here is what I've checked so far:
- JSDT已安装
- JavaScript资源包括ECMASciptBuilt-In库,ECMA 3浏览器支持库,jQuery
- 该项目的Include路径包含ECMAScipt内置库,ECMA 3浏览器支持库,jQuery和JavaScript Web项目支持
- Eclipse的JavaScript内容辅助功能已启用,并包含基本提案,其他JavaScript提案,模板提案和单词提案。
- 我将内容帮助从ctrl +空格更改为ctrl + 0,以检查ctrl +空格是否被劫持
- 内容协助i常规Java(在不同的项目中)
- 我尝试重新设置为内容辅助>高级 下的默认值
- 为项目选择了JavaScript facet
-
- .js文件和.jsp文件存储在文件夹下的文件夹中,该文件夹在JavaScript> Include Path
- 项目属性中指定为源文件夹这也是火星2中的一个问题。
- 我已经在这里列出了配置内容辅助的步骤: http://www.eclipse.org/pdt/help/html/using_javascript_content_assist.htm
- JSDT has been installed
- "JavaScript resources" include ECMASciptBuilt-In Library, ECMA 3 Browser Support Library, jQuery
- The project's Include path has ECMAScipt Built-In Library, ECMA 3 Browser Support Library, jQuery, and JavaScript Web Project support
- Eclipse's JavaScript Content Assist is enabled and includes Basic proposals, Other JavaScript Proposals, Template Proposals, and word proposals.
- I changed the content assist from ctrl+space to ctrl+0 to check whether ctrl+space had been hijacked
- Content assist DOES work with regular Java (in a different project)
- I tried reset to defaults under Content Assist > Advanced
- JavaScript facet is selected for the project
- .js files and .jsp files are stored in folders that are under folders that are designated as source folders in the project properties under JavaScript > Include Path
- This is also an issue in Mars 2.
- I've run through the steps listed here for configuring content assist: http://www.eclipse.org/pdt/help/html/using_javascript_content_assist.htm
内容辅助甚至不建议在同一个.js文件中定义的函数。如何让Eclipse的内容有助于正确提出元素?
The content assist isn't even proposing functions that are defined within the same .js file. How can I get Eclipse's content assist to propose elements correctly?
推荐答案
我有同样的问题,似乎是一个已知的bug : https://bugs.eclipse.org/bugs/show_bug.cgi?id = 504057
I have the same problem and it seems to be a known bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=504057
这篇关于Eclipse Neon Content Assist没有JavaScript的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文