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

Test View menu item just shows blank view #7081

Open
westbury opened this issue Feb 4, 2020 · 1 comment
Open

Test View menu item just shows blank view #7081

westbury opened this issue Feb 4, 2020 · 1 comment
Labels
bug bugs found in the application plug-in system issues related to the plug-in system

Comments

@westbury
Copy link
Contributor

westbury commented Feb 4, 2020

Description

The plugin-ext package contibutes a Test menu item in the View menu. This does nothing except show a completely blank view.

On investigating one can get something to show in this view. First one has to install a plugin that contributes a view to the 'test' group (or call registerView in plugin-view-registry). Then one has to right-click on a small area somewhere in the top left of the blank view to see the registered view in a context menu.

I was wondering what the intentions are. Users should not see the menu item if there are no 'test' views registered. Alternatively the 'test' view package could be moved out of plugin-ext. Also the view needs fixing. Should we do what VS Code does and show every project under every 'test' view implemention? Or should we do something more like Theia's SCM view where the user selects a project and tests are shown that are found in that project (possibly more than one part if project has different types of tests)?

Reproduction Steps

This plugin adds a view to 'test': https://marketplace.visualstudio.com/items?itemName=ms-python.python

@westbury westbury added question user / developer questions plug-in system issues related to the plug-in system labels Feb 4, 2020
@akosyakov
Copy link
Member

It should appear only when some extension explicitly contributes a view to it and show it. Otherwise it is a bug. One has to check maybe it is python extensions is too eager.

@westbury westbury added bug bugs found in the application and removed question user / developer questions labels Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application plug-in system issues related to the plug-in system
Projects
None yet
Development

No branches or pull requests

2 participants