Eclipse Neon Content Assist没有JavaScript的建议 [英] Eclipse Neon Content Assist has no proposals for JavaScript

查看:469
本文介绍了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:


  1. JSDT已安装

  2. JavaScript资源包括ECMASciptBuilt-In库,ECMA 3浏览器支持库,jQuery

  3. 该项目的Include路径包含ECMAScipt内置库,ECMA 3浏览器支持库,jQuery和JavaScript Web项目支持

  4. Eclipse的JavaScript内容辅助功能已启用,并包含基本提案,其他JavaScript提案,模板提案和单词提案。

  5. 我将内容帮助从ctrl +空格更改为ctrl + 0,以检查ctrl +空格是否被劫持

  6. 内容协助i常规Java(在不同的项目中)

  7. 我尝试重新设置为内容辅助>高级
  8. 下的默认值
  9. 为项目选择了JavaScript facet

  10. .js文件和.jsp文件存储在文件夹下的文件夹中,该文件夹在JavaScript> Include Path

  11. 项目属性中指定为源文件夹这也是火星2中的一个问题。

  12. 我已经在这里列出了配置内容辅助的步骤: http://www.eclipse.org/pdt/help/html/using_javascript_content_assist.htm

  1. JSDT has been installed
  2. "JavaScript resources" include ECMASciptBuilt-In Library, ECMA 3 Browser Support Library, jQuery
  3. The project's Include path has ECMAScipt Built-In Library, ECMA 3 Browser Support Library, jQuery, and JavaScript Web Project support
  4. Eclipse's JavaScript Content Assist is enabled and includes Basic proposals, Other JavaScript Proposals, Template Proposals, and word proposals.
  5. I changed the content assist from ctrl+space to ctrl+0 to check whether ctrl+space had been hijacked
  6. Content assist DOES work with regular Java (in a different project)
  7. I tried reset to defaults under Content Assist > Advanced
  8. JavaScript facet is selected for the project
  9. .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
  10. This is also an issue in Mars 2.
  11. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆