Tern & jQuery Extension support - angelozerr/tern.java GitHub Wiki
tern-jquery-extension provides a tern plugin which is able to use tern inside HTML and provides advanced features for jQuery like completion, hyperlink, validation for :
- CSS selectors:

After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the jQuery Extension tern plugin (ECMAScript, jQuery, Browser, Browser Extension tern plugins must be selected too) :

CSS Selectors
Completion for CSS Selectors

Hyperlink for CSS Selectors
You can go at definition to HTML element id.

Validation for CSS Selectors
If you activate tern-lint you will benefit with validation for CSS selectors syntax validation :
