[BUG] VSCode Extension Permission Dialog Text Ellipsized

Resolved 💬 6 comments Opened Jan 27, 2026 by yannbolliger Closed Mar 7, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When Claude Code requests permissions in the VSCode extension, the permission dialog shows three options:

  1. Yes
  2. Yes, allow for for session (something like "Allow [action] on [path] for this session")
  3. No

The problem: The text for the middle option ("Allow for session") is always ellipsized (truncated with "..."), even when there is plenty of horizontal space available in the dialog to display the full text (see screenshot):

<img width="2460" height="470" alt="Image" src="https://github.com/user-attachments/assets/42b3c8cc-a8d8-4f7c-95c5-3d54d92ef3bc" />

What Should Happen?

It should use the full width of the button to actually display the full path and command.
Also, if there's not enough space it should be possible to show the full thing in a button overlay.

Error Messages/Logs

Steps to Reproduce

  1. Open VSCode with the Claude Code extension installed
  2. Start a Claude Code session
  3. Ask Claude to perform an action that requires permission (e.g., read a file, run a bash command)
  4. When the permission dialog appears, observe the three options
  5. Note that the middle option text is ellipsized even though the dialog has sufficient width to display the full text

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.20 (of the VSCode plugin)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗