rescript-lang / rescript-lang/rescript
Warnings in the watch mode
Nessuno ha ancora preso questa issue.
- Lingua principale
- OCaml
- Stelle
- 7.5k
- Fork
- 485
- Merge medio
- 1g 2h
- PR unite (30g)
- 55
Descrizione
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:
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:
- Feedback time - from save to update - noticeably increased compared to v11. Is this expected or is it something with my setup?
- 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?
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il comportamento con rescript watch, salvando un file dopo la comparsa degli avvisi e controllando le diagnostiche dell’editor. Il payload non indica file sorgente né test, quindi traccia prima l’output del compilatore in modalità watch e l’integrazione con l’editor. Done dovrebbe preservare gli avvisi dopo i salvataggi successivi e chiarire il tempo di feedback e il comportamento negli workspace multi-package.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ocaml
- Ambito
- compilers, devtools
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100