I've followed this StackOverflow question How to add Jquery to Sublime Text 2? and downloaded the jquery package successfully but when I checked its syntaxes, there is no jquery language in it.Don't know what's happening! Please help me! I really want to add jquery package in my sublime editor.
Asked
Active
Viewed 118 times
0
-
Hello! I did what you said but still having problem ... @dicentiu – Aisha Salman May 05 '16 at 14:36
1 Answers
1
The answer you referenced states that the javascript
syntax is used for jquery
.
The packages they recommend are for jquery
snippets, and do not include an additional syntax. There is no need for an additional syntax, as jquery is a subset of javascript.
I installed jQuery, and can confirm that the snippets work as intended. Try opening your file with the javascript
syntax, type ajax
, and execute the given auto-completion. It should expand into the relevant jquery
snippet.
You can get a list of all available jquery
snippets by using this method.

Community
- 1
- 1

Enteleform
- 3,753
- 1
- 15
- 30
-
2In ST2 the packages are not in `.sublime-package` files, they're actually in the `Packages` folder (imagine that!). So, to list the snippets, all you need to do is select **`Preferences -> Browse Packages...`**, then look in the `jQuery` folder for `.sublime-snippet` files. – MattDMo May 06 '16 at 02:20