Skip to content
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

Don't activate before view is opened #32

Open
zardoy opened this issue Feb 18, 2023 · 0 comments
Open

Don't activate before view is opened #32

zardoy opened this issue Feb 18, 2023 · 0 comments

Comments

@zardoy
Copy link

zardoy commented Feb 18, 2023

Hi! I noticed that extension makes ts requests before view is opened, which I don't really like.

I noticed that extension has these activation events:

onLanguage:typescript
onLanguage:javascript
onLanguage:typescriptreact
onLanguage:javascriptreact

But why they needed?

I think you can either remove these activation events or make view initialize lazily by using treeDataProvider.onLoad callback eg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant