我正在使用
首先进入 Tools -> Options -> Miscellaneous 并点击 Javascript 选项卡,确保目标浏览器配置正确,目标浏览器的最小版本更改代码完成以确保支持该功能.
您还需要将 jquery js 文件添加到您的项目中,以便 netbeans 能够解析它并正确添加代码完成.
I'm using NetBeans for PHP.
When I edit a .js file, it gives me javascript code completion.
How can I get it to also give me jQuery code completion?
First go to Tools -> Options -> Miscellaneous and click on the Javascript tab, make sure the targeted browsers are configured properly, code completion changes by the minimal version of the targeted browsers to make sure that the functionality is supported.
You also need to add the jquery js file to your project so netbeans would be able to parse it and to properly add code completion.
这篇关于如何在 NetBeans 中完成 jQuery 代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!