Can we use the default host names?
- Linguagem predominante
- TypeScript
- Estrelas
- 130
- Forks
- 48
- Merge médio
- 3d 3h
- PRs com merge (30d)
- 15
Descrição
Having the set of host names generated by the CLI (`coder.`) and the set of host names generated by the plugin (`coder-vscode.--*`) causes some confusion when you mix connecting via the remote SSH plugin and connecting through our plugin.
Basically, you can get a different set of settings and recents, because VS Code thinks they are different connections (the host names are different, after all).
I believe we do this for two reasons:
1. So we can use `vscodessh` instead of `ssh`.
2. To attach an environment variable that allows us to track the connection as a VS Code connection, and not just a regular SSH connection. (Which, by the way, means that connections done with the remote SSH plugin without our plugin will not be tracked as VS Code connections!)
The first is easily solved, the JetBrains plugin already uses the regular `ssh` command. I think we just have to port the network info command? And this would make it usable with JetBrains as well, so win-win.
The second is trickier. We need some way to identify the connection but I am not sure how. We could track the process on the remote instead, like we do with JetBrains?
Guia de contribuição
Direção de pesquisa
Comece rastreando como o CLI e o plugin geram nomes de host e, em seguida, leia como o plugin do JetBrains usa o comando ssh normal e seu comando de informações de rede. O trabalho estará concluído quando ambos os caminhos de conexão puderem compartilhar os nomes de host padrão e, ao mesmo tempo, identificar e acompanhar as conexões do VS Code.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript
- Domínio
- devtools
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 30/100