You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeScript symbols is empty inside closure (like jQuery plugins) #8218
I also think this is annoying. Symbols view only shows symbols in the global scope, also for Javasript. If you use class expressions for Angular, like .controller('MyController', class MyController { ... }) you will never get any methods of that class show up in the symbol view.
i think that is a better place to be in. if that turned out to be another source of complains, may be we should allow all function declarations regardless if they are containers or not.
Activity
jrieken commentedon Apr 20, 2016
From Felix Becker (@felixfbecker) on January 3, 2016 12:5
I also think this is annoying. Symbols view only shows symbols in the global scope, also for Javasript. If you use class expressions for Angular, like
.controller('MyController', class MyController { ... })you will never get any methods of that class show up in the symbol view.jrieken commentedon Apr 20, 2016
From Paramvir Dhindsa (@paramquery) on April 20, 2016 14:5
+1
much needed feature.
jrieken commentedon Apr 20, 2016
This is an issue with TypeScript. For JavaScript this actually works a lot better then for TypeScript despite using the same language service...
mhegazy commentedon Apr 20, 2016
Bill Ticehurst (@billti) had a fix for the JS case. we need to unify the two implementations. #7523 tracks some of this work.
mhegazy commentedon Jun 6, 2016
Andy (Andrewkraft) (@Andy-MS) would this be handled by your refactor?
mhegazy commentedon Jun 6, 2016
i think that is a better place to be in. if that turned out to be another source of complains, may be we should allow all function declarations regardless if they are containers or not.