Vscode-java-test: Collapse/Expand Test Levels

Created on 2 Mar 2020  路  10Comments  路  Source: microsoft/vscode-java-test

Is this extension the creator of this UI?

image


If so, what about improving the collapse button?

Something like Azure DevOps, expand/collapse one level at a time? 馃

image

Source

enhancement upstream

All 10 comments

The Collapse All button is the VS Code's API. As far as I know, there is no such API to expand a node. Did you see any example in other VS Code extensions?

button is the VS Code's API

Oh, bummer

As far as I know, there is no such API to expand a node.

馃槻. Wonder if there's a feature request already for that 馃?

Did you see any example in other VS Code extensions?

No but I'll keep my eyes open. Thanks @jdneo !

Thanks, if there is any update/new findings, please feel free to comment here.

Found one! Search has one 馃槉

image

Thank you! Let me check the implementation

Looking forward for this enhancement :eyes:

This is still limited by API, see: https://github.com/microsoft/vscode/issues/88682

This is still limited by API, see: microsoft/vscode#88682

Bummer. Thanks for looking into it again. Should we close the issue again?

@spottedmahn just make it open is fine. Then I can always take a look at the upstream issue when I see it.

In my opinion the reason for an 'expand all' button comes from the wish to see the status of running/completed tests quickly. A collapsed node does not have any indication if tests inside it are still running/succeeded/failed. Adding this information to classes/packages/projects would be more appropriate.

Was this page helpful?
0 / 5 - 0 ratings