問題描述
我正在使用
首先進入 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模板網(wǎng)!