Can we use the default host names?
- 主要言語
- TypeScript
- スター
- 130
- フォーク
- 48
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 15
説明
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?
コントリビューションガイド
調査の方向性
まず CLI と plugin がホスト名を生成する方法を追跡し、次に JetBrains plugin が通常の ssh コマンドとそのネットワーク情報コマンドをどのように使用しているかを確認します。両方の接続経路でデフォルトのホスト名を共有しながら、VS Code 接続を識別して追跡できるようになれば作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100