microsoft / microsoft/vscode

Vitest extension buttons are outside the panel viewport

Open
#334,256 2 comments 0 reactions 1 assignee Claimed by @connor4312 View on GitHub
bug testing
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

VS Code version:

```
Version: 1.136.0 (user setup)
Commit: 520fb30b2d3d324b4cb2342f6e88e2cd93751de1
Datum: 2026-09-02T09:13:42Z
Electron: 42.10.0
ElectronBuildId: 15109253
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
Betriebssystem: 1.0.81-0
```

OS Version: `Windows 10x64`

# Current Situation

Currently, the Vitest extension action buttons are rendered outside the viewport when test names or nested folder structure are longer than the panel width:

![Current Situation](https://github.com/user-attachments/assets/f9f9787f-4f2b-4036-8b94-c49e5352e1f2)

This renders these buttons unreachable (without taking significant effort to reach them).

# Desired Situation

The Vitest extension action buttons should stick to the **right side** of the panel viewport (trimming the script text):

![Desired Situation](https://github.com/user-attachments/assets/63eac729-e1dc-443f-baee-e3ec789d6284)

See the corresponding [issue about the **NPM Scripts** panel in VS Code](https://github.com/microsoft/vscode/issues/251722) where this issue has been fixed earlier this year.

I already opened an [issue in the **vitest-dev/vscode** repository](https://github.com/vitest-dev/vscode/issues/810), but they think it's the VS Code respository that should fix this issue.

---

Extension version: 1.50.8
VS Code version: Code 1.136.0 (520fb30b2d3d324b4cb2342f6e88e2cd93751de1, 2026-09-02T09:13:42Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-3940XM CPU @ 3.00GHz (4 x 3190)|
|GPU Status|2d_canvas: unavailable_software
GPU0: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VENDOR=Microsoft, DRIVER_VERSION=10.0.19041.5794
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.19041.5794 *ACTIVE*
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: disabled_software
video_encode: disabled_software
webgl: unavailable_software
webgpu: unavailable_software
webnn: unavailable_software|
|Load (avg)|undefined|
|Memory (System)|16.00GB (9.72GB free)|
|Process Argv|--crash-reporter-id 3adafd8f-f8e0-4b32-a620-96f9a0b87d3e|
|Screen Reader|no|
|VM|50%|

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.