microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
161.8k stars 28.44k forks source link

`Allow extension to open URI` dialog crops the URI #176792

Open aeschli opened 1 year ago

aeschli commented 1 year ago

The URI is cropped...

joaomoreno commented 1 year ago

@aeschli You also filed the inverse: https://github.com/microsoft/vscode/issues/66628

Let me know if you have any good ideas here.

aeschli commented 1 year ago

Hmm, tricky, a hover to see the full URI would be nice, but yes, I know that's hard in a native dialog :-)

Maybe a button Details?

But then the URI might by so cryptic that it's useless to show it.

aeschli commented 1 year ago

We could also just show what's passed in as argument to the extension (the path).

aeschli commented 1 year ago

We could also reword the message. Remote Repositories wants to handle a URI passed in from the OS. You should only allow this operation if you know how this was triggered and trust the extension.