microsoft / microsoft/vscode-remote-release

Reconnecting with open files

Open
#1,879 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request remote
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Issue Type: Bug

I normally have open remote ssh connections running and sometimes I leave files with unsaved changes when I sleep my computer for the day. The next day, Code tells me I need to reload to reconnect, and everything normally works fine.

This time I spaced out and mis-clicked Cancel instead of Reconnect. There was no way to attempt reconnection after that point, aside from closing that window and reconnecting. The menu options presented after clicking the SSH Remote taskbar item did not appear to do anything useful.

Can we get an on-demand reconnect option, in addition to the automatic reconnect mechanism?

Extension version: 0.47.2
VS Code version: Code 1.40.1 (8795a9889db74563ddd43eb0a897a2384129a619, 2019-11-13T16:47:44.719Z)
OS version: Darwin x64 19.0.0
Remote OS version: Linux x64 3.10.0-957.12.1.el7.x86_64
Remote OS version: Linux x64 3.10.0-957.12.1.el7.x86_64

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named in the report. Start by reproducing the canceled reconnect flow in the SSH remote window and inspect the available taskbar and menu actions. Done means an on-demand reconnect action is available after Cancel and reconnects open remote files without closing the window.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.