Can we use the default host names?
- Lingua principale
- TypeScript
- Stelle
- 130
- Fork
- 48
- Merge medio
- 3g 3h
- PR unite (30g)
- 15
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il modo in cui CLI e plugin generano i nomi host, quindi esamina l’uso da parte del plugin JetBrains del comando ssh standard e del relativo comando per le informazioni di rete. Il lavoro è completato quando entrambi i percorsi di connessione possono condividere i nomi host predefiniti continuando al contempo a identificare e tracciare le connessioni VS Code.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100