Skip to content

Add workspace scans to Problems - #27

Merged
Perdolique merged 2 commits into
masterfrom
codex/workspace-scan
Sep 8, 2026
Merged

Add workspace scans to Problems#27
Perdolique merged 2 commits into
masterfrom
codex/workspace-scan

Conversation

@Perdolique

Copy link
Copy Markdown
Owner

Summary

Run Zero Reference: Scan Workspace to bring zero-reference findings from open and closed TypeScript/JavaScript files into Problems 😎👍 The scan works with CodeLens disabled and takes you straight to each declaration name 💨

  • ✨ Scan all workspace folders with cancellable progress and a Clear Workspace Scan Results command.
  • 🔎 Respect file exclusions and suppression comments while continuing to count references from excluded files.
  • ♻️ Share pending analysis with CodeLens, keep cancellation independent, and preserve the global limit of four reference lookups.
  • 📌 Publish results as one snapshot, keep the previous snapshot on cancellation or discovery failure, and mark surviving entries stale after edits.
  • 🧾 Report incomplete checks and file counts, with original provider errors available through Show Output.
  • ✅ Add Extension Host coverage for closed files, unsaved edits, multiple roots, missing workspaces, exclusions, cancellation, and snapshot updates.
  • 📚 Document the commands and snapshot behavior, including the limits of the available project reference graph.

Related issues

Closes #3

Related to #2: includes the diagnostic surface needed for workspace scans.

- ✨ Add cancellable workspace scans and clear-results commands with Problems diagnostics
- ♻️ Share pending analysis with CodeLens while preserving independent cancellation and four reference lookup slots
- ✨ Keep scan snapshots, mark surviving findings stale after edits, and report incomplete analysis
- ✅ Cover closed files, multiple roots, exclusions, cancellation, and snapshot lifecycle
- 📚 Document scan commands, exclusions, snapshots, and reference graph limitations
@Perdolique Perdolique self-assigned this Sep 7, 2026
- ✅ Compare document tab URIs instead of counting startup and file tabs together
- ✅ Prepare the unsaved editor before measuring scan effects and exercise the Welcome page
@Perdolique
Perdolique marked this pull request as ready for review September 8, 2026 04:18
@Perdolique
Perdolique merged commit 76a06df into master Sep 8, 2026
3 checks passed
@Perdolique
Perdolique deleted the codex/workspace-scan branch September 8, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a cancellable workspace-wide zero-reference scan

1 participant