-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript symbols is empty inside closure (like jQuery plugins) #8218
Comments
From @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 |
From @paramquery on April 20, 2016 14:5 +1 much needed feature. |
This is an issue with TypeScript. For JavaScript this actually works a lot better then for TypeScript despite using the same language service... |
@andy-ms would this be handled by your refactor? |
In the #8958 branch, |
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. |
Closed by #9220 |
From @Ciantic on January 2, 2016 8:38
I tried developing basic jQuery plugin with TS, looks like the symbols list is totally empty if I use following code:
I think it should recgonize the whole file spanning closure and not let it ruin the symbols listing.
Copied from original issue: microsoft/vscode#1741
The text was updated successfully, but these errors were encountered: