Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Start workspace without asking when pressing the play button

Aberta
#331 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
typescript

Direção de pesquisa

Rastreie os pontos de entrada play-button, dashboard e recents, junto com o hook de ativação do plugin SSH remoto. Primeiro determine se o hook consegue distinguir uma conexão inicial de uma reconexão. Considera-se concluído quando os lançamentos por play-button e dashboard iniciam o workspace sem solicitar confirmação, enquanto as reconexões não iniciam automaticamente os workspaces parados automaticamente.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Currently, the play button immediately calls out to the remote SSH plugin.

Then, our plugin hooks into the remote SSH plugin activation and it does its magic like starting the workspace.

Problem is, we cannot tell if the remote SSH plugin was activated due to the play button being pressed or due to a reconnect. We cannot auto-start on reconnects because it causes issues with auto-stopped workspaces (VS Code will keep reconnecting and keep turning workspaces on, preventing the cost savings).

So, assuming there is no clever way to tell what caused the connect, I think we will just have to duplicate the start code when you press that button. Then delegate to the remote SSH plugin.

Another case where you probably want the workspace to start without asking is from the recents menu, but that goes straight to the remote SSH plugin so I am not sure there is anything we can do there. Is there some way in the remote authority activation hook to tell what caused the connect? If we can distinguish between a first connect and a reconnect, that would be ideal.

Another case is when coming in from the dashboard. This could be handled like the play button by duplicating the start code.

Linguagem predominante
TypeScript
Estrelas
131
Forks
48
Merge médio
4d 15h
PRs com merge (30d)
17

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de coder/vscode-coder

Todas as issues de coder/vscode-coder

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.