Two instances of HLS started

オープン
#480 コメント 20 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
haskell, typescript, vscode

調査の方向性

添付された hls-7.10.2021.log と、報告されている Ubuntu、GHC、VS Code、vscode-haskell のバージョンから始めてください。現在のプロジェクトのファイルだけを開いて問題を再現し、その後、なぜ HLS のインスタンスが 2 つ起動するのかを特定し、拡張機能が 1 つのインスタンスだけを実行し続けることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

status: need repro type: bug type: setup

In some cases, vscode-haskell starts two instances of HLS (consuming lots of memory).

Task Monitor Screenshot

There is a comment in my bug report on haskell-language-server which suggests, that this happens when opening a .hs file outside of the current project.

In this case, I did not do that - I was only working with files from my current project.
I will attach the (quite large) HLS log file, hoping it will be of help. In a quick search I could not the files corresponding with the launch of the instance though. (This should happen closer to the end of the log file - I opened the task monitor after noticing my Laptop struggling and then closed VS Code)

hls-7.10.2021.log

Edit:

OS is Ubuntu Linux 20.04.3 LTS
GHC version 8.10.4
VS Code 1.60.2
vscode-haskell 1.7.1

Working on GHC source

主要言語
TypeScript
スター
594
フォーク
99
平均マージ
18時間 19分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

haskell/vscode-haskell のほかの issue

haskell/vscode-haskell の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。