Skip to content

[WIP] Fix document list synchronization with active state#2286

Closed
Copilot wants to merge 1 commit into
mainfrom
copilot/sync-document-list-with-active-state
Closed

[WIP] Fix document list synchronization with active state#2286
Copilot wants to merge 1 commit into
mainfrom
copilot/sync-document-list-with-active-state

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 12, 2026

  • Investigate existing workspace document tracking and locate where $psEditor.Workspace document data is produced
  • Run baseline build/tests to capture current repository state before changes
  • Implement minimal code changes so workspace documents reflect open/close and saved/unsaved state from LSP-backed state
  • Add or update focused tests for the new behavior
  • Run targeted tests for changed areas
  • Run final validation and report results
Original prompt

The document list is not in sync with the active state. For instance, if a file is closed or changes from saved to unsaved, it is not reflected in the pseditor.workspace.documents section.

Ensure pseditor.workspace.documents is an accurate match to the editor based on the LSP messages. Use existing state where possible, and augment existing classes with new properties if needed.

The user has attached the following file paths as relevant context:

  • .github\copilot-instructions.md

Created from VS Code.

@JustinGrote
Copy link
Copy Markdown
Collaborator

Createdby Mistake

Copilot AI requested a review from JustinGrote May 12, 2026 21:03
Copilot stopped work on behalf of JustinGrote due to an error May 12, 2026 21:03
@JustinGrote JustinGrote deleted the copilot/sync-document-list-with-active-state branch May 13, 2026 00:16
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.

2 participants