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

Cleanup of IntelliSense and Go To Definition Behavior #10

Closed jmatthiesen closed 10 years ago

jmatthiesen commented 10 years ago

In this pull request I'm submitting a couple changes to cleanup IntelliSense and make features like Go To Definition work correctly. -=-=-=-=-=-=-=-=-=-=-= Changed the AngularJS_VisualStudioIntellisense so that it is always hidden from IntelliSense (using the $ prefix).

Resetting the "definitions" for angular.module and angular.forEach back to their original functions, usning intellisense.redirectDefinition - this doesn't alter the behavior of the extension, but enables features like Go To Definition to work correctly.