Old "Lua" output channel remains active after restarting server
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 215
- フォーク
- 62
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Which OS are you using?
MacOS
Expected Behaviour
When restarting the language server, I expect the output channel to be either
- cleared and reused by the new server instance
- or deleted and a new one used to replace it
Actual Behaviour
The old channel is never destroyed, leaving multiple channels with the same name which can be confusing if you're looking for new channel output.
Reproduction steps
- Open a Lua file
- Run the
Lua: Restart Language Servercommand (many times makes it more obvious) - Open the output channel selector dropdown (
Output: Show Output Channels...)
Additional Notes
I think this is probably pretty simple to fix, just by either clear()ing and reusing or destroy()ing the OutputChannel used for logging.
Log
file_Users_ianchamberlain_Documents_Development_moon-rs-ls.log
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Lua: Restart Language Server コマンドの handler から始め、その VS Code の OutputChannel がどのように作成され保持されているかを追跡します。再起動を繰り返し実行し、その後 Output: Show Output Channels... に現在の Lua チャネルだけが含まれ、そこに新しいサーバー出力が表示されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript, vscode
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100