Skip to content

window.showInputBox should show which extension triggered it #136856

@mmangelsdorf

Description

@mmangelsdorf

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:
    Version: 1.62.1 (user setup)
    Commit: f4af3cb
    Date: 2021-11-05T10:57:55.946Z
    Electron: 13.5.2
    Chrome: 91.0.4472.164
    Node.js: 14.16.0
    V8: 9.1.269.39-electron.0

  • OS Version:
    OS: Windows_NT x64 10.0.19043

Steps to Reproduce

  1. Install @ankitbko's Azure DevOps Pull Requests extension
  2. Don't follow the guide to login, instead close VS Code
  3. Start VS Code

VS Code will now show the following Input Box:

Please provide PAT (Press 'Enter' to confirm or 'Escape' to cancel)

The problem is that there is no hint whatsoever which extension opened that input box, so in my case it took me ages to find out (by accident) that this was due to the AZDO extension. I have filed a PR for the extension to have the extension name be prepended to the input box message in the meantime.

But I think a better and more general solution would be to append the extension name in square brackets after the prompt:
Please provide PAT (Press 'Enter' to confirm or 'Escape' to cancel) [Azure DevOps Pull Requests]

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityquick-pickQuick-pick widget issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions