rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
14.37k stars 1.62k forks source link

[vscode] text wrapping for run/debug test buttons #13906

Open ju1ius opened 1 year ago

ju1ius commented 1 year ago

Hi,

I'm using the rstest library to generate parametrized test cases. The run/debug test buttons are generated, but they don't wrap at viewport width, and a scrollbar is not shown either:

vscode-ra-fs8

Here we can see that the run/debug buttons for the last two test cases are cut. Note that the commands are available via the «Show CodeLens commands for current line» action.

It would be nice if the button list could wrap when exceeding the viewport width.

Thanks!

Veykril commented 1 year ago

The editor is in charge of rendering those I believe, so this is a VSCode issue.