angular-ui/AngularJS-sublime-package

import custom HTML directives from a js file

mayuroks opened this issue · 1 comments

Hi, I am new to angular. I am using ionic framework to build html5 mobile apps. I have a ionic-angular.js file where some custom directives ( HTML tags ) are defined.
My current angular user settings look like this

{
  "auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin"
}

How should I import those elements to that it help my auto-completion while writing .html templates ?

If it's just a regular html file then all should be well. You'll have to trigger the indexing first via ctrl+super+l before any of the custom directives will show.

If the status bar at the bottom doesn't say that it's indexing another plugin might be overriding that keyboard shortcut.