How can I get jQuery code completion in NetBeans?

前端 未结 7 1512
一个人的身影
一个人的身影 2020-12-02 15:30

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

7条回答
  •  借酒劲吻你
    2020-12-02 16:30

    I use netbians 7.x for development on drupal 6.x. Autocomplete works after adding non-minified version jquery-1.2.6.js file to the root folder of the project (so it will be with any version).

    It is important to specify the version of the file name, without -1.2.6 will not work!

提交回复
热议问题