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

TreeDataProvider.getChildren is called on extension activation #27745

Closed
weinand opened this issue May 31, 2017 · 0 comments
Closed

TreeDataProvider.getChildren is called on extension activation #27745

weinand opened this issue May 31, 2017 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug tree-views Extension tree view issues verified Verification succeeded
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented May 31, 2017

Testing #27467:

In the extension's activation I register the TreeDataProvider like this:

vscode.window.registerTreeDataProviderForView('loadedScriptsExplorer', new ScriptsExplorer());

When the extension gets activated, TreeDataProvider.getChildren is called even if the tree section "Loaded Scripts" in the Navigator is still collapsed:
2017-05-31_15-51-37

I would expect that TreeDataProvider.getChildren is called when I expand the "Loaded Scripts" section in the navigator.

@weinand weinand added the bug Issue identified by VS Code Team member as probable bug label May 31, 2017
@sandy081 sandy081 added the tree-views Extension tree view issues label May 31, 2017
@sandy081 sandy081 added this to the May 2017 milestone May 31, 2017
@weinand weinand added the verified Verification succeeded label Jun 1, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug tree-views Extension tree view issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants