Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Warnings in the watch mode

オープン
#8,158 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

まず rescript watch で動作を再現し、警告が表示された後にファイルを保存して、エディターの診断を確認します。ペイロードにはソースファイルもテストも記載されていないため、最初に watch モードのコンパイラー出力とエディター統合を追跡します。Done では、その後の保存後も警告が維持されること、フィードバック時間とマルチパッケージワークスペースの動作が明確になることを確認します。

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

説明

I have N warnings in the app. I run rescript watch - it shows all of them and editor integration shows all of them as well. Then I save some file in the editor, and all of the warnings disappear from diagnostics.

This is what I see in the console:

Image

After each consequent save, compiler stops outputting warnings - I guess it's related to the reason they disappear from editor diagnostics?


Also, two kinda unrelated remarks:

  1. Feedback time - from save to update - noticeably increased compared to v11. Is this expected or is it something with my setup?
  2. Seems like if I have 3 packages in a workspace, each package has own namespace in editor integration? With Rewatch, I hoped to get workspace wide diagnostics as it's done in rust-analyzer, but apparently it's not how it works in ReScript LSP?
主要言語
OCaml
スター
7.5k
フォーク
485
平均マージ
1日 2時間
マージ済み PR(30日)
55

環境構築

はじめの一歩

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

rescript-lang/rescript のほかの issue

rescript-lang/rescript の issue をすべて見る

似ている issue

Compilers の issue をもっと見る

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

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