jmbledsoe / angularjs-visualstudio-intellisense

Visual Studio extension providing statement completion for injected AngularJS components in JavaScript files.
MIT License
110 stars 22 forks source link

Moving to the VS JS extensibility model, removing the "global modules requirement" #13

Closed jmatthiesen closed 9 years ago

jmatthiesen commented 9 years ago

Refactored the extension so that it works with the Visual Studio JavaScript editor's native extensibility model - renaming the extension to angular.intellisense.js. Now, if the file is placed next to angular.js in the project, it will automatically be loaded right after Angular library.

Other bug fixes made:

  1. Modules no longer need to be exported to global
  2. The implicit "ng" module is now required by default for all modules - the same as Angular's runtime behavior
  3. Required modules are respected correctly when editing the first file in which a module is defined
  4. Expanded test cases