Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote explorer - Switch Remote button not working #194569

Closed
dexslender opened this issue Oct 1, 2023 · 2 comments · Fixed by #194604
Closed

Remote explorer - Switch Remote button not working #194569

dexslender opened this issue Oct 1, 2023 · 2 comments · Fixed by #194604
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debt Code quality issues insiders-released Patch has been released in VS Code Insiders remote-explorer Remote explorer view verified Verification succeeded
Milestone

Comments

@dexslender
Copy link

dexslender commented Oct 1, 2023

Type: Bug

For some reason I decided that hiding the Swich Remote button was a good idea.
To repeat this:
1.- Go to Remote Explorer section
2.- Hide the "Swich Remote" button
3.- Now, ¿how to show again?
4.- Go to more options and select "Swich Remote", vscode display an interesting error

VS Code version: Code 1.82.2 (abd2f3d, 2023-09-14T05:55:25.390Z)
OS version: Windows_NT x64 10.0.22623
Modes:

image
image

@alexr00 alexr00 added bug Issue identified by VS Code Team member as probable bug remote-explorer Remote explorer view debt Code quality issues labels Oct 2, 2023
@alexr00 alexr00 added this to the October 2023 milestone Oct 2, 2023
alexr00 added a commit that referenced this issue Oct 2, 2023
@dexslender dexslender changed the title Remote explorer - Switch Remote button now working Remote explorer - Switch Remote button not working Oct 2, 2023
alexr00 added a commit that referenced this issue Oct 4, 2023
* Switch Remote button not working after hiding
Fixes #194569
Part of #194603

* Respond to PR feedback

* Fix for uninstalled extensions and for extensions that don't activate

* Fix active remote view not being selected
@VSCodeTriageBot VSCodeTriageBot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Oct 4, 2023
@DonJayamanne
Copy link
Contributor

Not sure how to get the Swtich Remote menu item.
I've tried this in both local environments as well as remote containers, still do not see such an item

@alexr00
Copy link
Member

alexr00 commented Oct 25, 2023

To verify:

  1. Install at least 2 extensions that provide remote functionality. No need to connect to a remote.
  2. Open the Remote Explorer.
  3. Right click on the dropdown that lists remotes at the top of the Remote Explorer
  4. From the context menu that shows, choose the option to "Hide Switch Remote"
  5. Verify that there's now a "Switch Remote" in the ... menu of the Remote Explorer
  6. Verify that you can use that to actually switch remote
  7. Verify that you can get the dropdown back by right clicking on the ... menu and selecting "Switch Remote"

@dbaeumer dbaeumer added the verified Verification succeeded label Oct 25, 2023
Alex0007 pushed a commit to Alex0007/vscode that referenced this issue Oct 26, 2023
* Switch Remote button not working after hiding
Fixes microsoft#194569
Part of microsoft#194603

* Respond to PR feedback

* Fix for uninstalled extensions and for extensions that don't activate

* Fix active remote view not being selected
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debt Code quality issues insiders-released Patch has been released in VS Code Insiders remote-explorer Remote explorer view verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants