Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Closed diagnostics outside the selected solution directory do not refresh

Aperta
#463 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
devtools

Direzione di ricerca

Start with the native input watching and workspace snapshot handling described in the issue, then read diagnostic-ownership-e2e.test.ts for the three regression cases covering F# and C#. Trace how compiler source and project graph determine watch ownership. Done when closed-source edits outside the selected solution directory clear and restore diagnostics automatically, obsolete watches are retired, unchanged subscriptions remain, and stale snapshots are rejected.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

A project outside the selected solution directory can be adopted correctly while subsequent closed-source edits leave stale diagnostics in Problems.

Confirmed against feature source 2a59dd10 with real F# and C# projects in the Windows VSIX host:

  1. Select a solution under Selected/ and open a clean source from a restored project under sibling External/.
  2. Verify a genuine error from the external project's unopened source appears once, with the original solution's error preserved.
  3. Repair that closed source on disk and successfully build its real SDK solution.

Expected: the external error clears automatically and returns when reintroduced, without reopening files or a semantic request. Actual: the original FS0001 or CS0029 remains after the successful repair build.

The new three-case diagnostic-ownership-e2e.test.ts captures both language failures. Native input watching currently follows only the selected solution directory. Watch ownership must follow the actual compiler source and project graph, retain unchanged subscriptions, retire obsolete scopes and reject stale workspace snapshots. Diagnostic results remain owned by Salsa.

Lingua principale
TypeScript
Stelle
168
Fork
9
Merge medio
2h 11m
PR unite (30g)
75

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Nimblesite/SharpLsp

Tutte le issue di Nimblesite/SharpLsp

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.