vscode-phpunit icon indicating copy to clipboard operation
vscode-phpunit copied to clipboard

Perhaps ellipsize test case names with tooltip

Open Gert-dev opened this issue 5 years ago • 0 comments
trafficstars

Thanks for integrating PHPUnit in a neat test explorer.

This is a report of this ticket, which the maintainer mentioned may be due to the adapter (hence, this package): https://github.com/hbenl/vscode-test-explorer/issues/102

I'll repost the same content for completeness' sake:

The PHP plugin shows the entire FQCN of the test case class, which makes items in the tree very long. This in turn makes it hard to reach the button to navigate to the source - which I didn't even know existed and I wanted to report an issue about it, until I discovered #69.

An example to demonstrate how long the test names are:

Example

Would it be possible to ellipsize long test names (and e.g. show the full name in a tooltip on hover), or ellipsize the first part of the name (as the last part is usually the most important)? The idea is that there would be no horizontal scrollbar and the action buttons would always be visible on hover to the right. This would be similar to what the Tree Style Tabs extension does in Firefox:

Firefox Tree Style Tabs

Thanks!

Gert-dev avatar Dec 09 '19 19:12 Gert-dev