terminal
terminal copied to clipboard
Hide SSH profiles in the dropdown by default, make them opt-in.
Description of the new feature
Hey @DHowett-MSFT! I don't know what most folks usage of ~/.ssh/config is, but I use it extensively.
The effect of this means that the dropdown menu in WT was pages long. My ask is that you make SSH profiles hidden by default in the dropdown until the user explicitly goes and unhides them. It'll make managing connections a little more sane.
Proposed technical implementation details
No response
I have ~200 entries in my ~/.ssh/config file. This was after I went and disabled a bunch of them.
@carlos-zamora our first casualty
Casualty?! Please don't kill it. I personally like the feature. I just think, in the case where a user has LOTS of entries in ~/.ssh/config it is overwhelming.
Notes from triage: we should generate a folder if the SSH generator produced any profiles and we did not already (tracked in state.json) generate the folder.
We're probably not going to make them opt-in right now, only because adding two hundred hidden profiles is still going to clutter the UI even if they're, well, hidden.