justinmahar / SublimeCSAutocompletePlus

CoffeeScript autocompletions and more!
172 stars 12 forks source link

Type name aliases #23

Open Iristyle opened 11 years ago

Iristyle commented 11 years ago

AngularJS has a type called $document

Essentially this is a jqlite wrapped window.document

If you include standard jQuery in your project, then it's regular old jQuery.

        {
          "name": "$document",
          "aliases": ["$"],
          "enabled": true,
          "constructors": [],
          "static_properties": [],
          "static_methods": [],
          "instance_properties": [],
          "instance_methods": []
        },

It would be useful to alias types using something like aliases in the JSON above.