Sublime Forum

Language file to go with completions

#1

Hey there,

==Update==
I might need to add I’m talking about ST2 here by the way :wink:
==Update==

I’m working on completion files for jQuery 1.8.0 and I would like to know if (and how) it’s possible to define my own jQuery language file with custom scopes?
For example, I want the jQuery object functions/methods/properties only to show up when it matches ‘jQuery.’ or ‘$.’, so I would need a scope something along the lines of ‘source.jquery.object’.

My project is on GitHub by the way: bit.ly/NpVVMD

Cheers,
Reinier.

0 Likes