Sublime Forum

jQuery methods code suggestion not working

#1

Hello, I installed jQuery and jQuery Snippets packages from Package Control but I’m experiencing the following problems.

  1. When I’m into a js script block inside an HTML none code suggestion is shown for jQuery function methods $(‘whatever’). When I hit the shortcuts for code completion no one method is suggested even typing the beginning letters.
  2. If I am inside a pure js file the methods suggestions for jQuery are shown only after the DOT ($(‘selector’).) and if I select one of them they will be printed with no parenthesis.
  3. Also if I skip this step and decide not to use a code suggestion after the dot BUT i decide to come back there later using the shortcuts for code suggestion the methods suggestions are not shown any more! It is shown only a suggestion based on the words I’ve already used on the document.

I guess the 1st problem depends on the scope definition (where it is and what should I change?).
For the 2nd and 3rd I have no clue…

Thanks, bye

0 Likes