Expose open LSP documents via $psEditor.Workspace.Documents#2285
Expose open LSP documents via $psEditor.Workspace.Documents#2285Copilot wants to merge 20 commits into
$psEditor.Workspace.Documents#2285Conversation
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/76ae345c-b025-4fa0-8a0c-f6f8fa243d80 Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
$psEditor.Workspace.Documents
|
@copilot add close method as well |
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/6a4ffcb3-ffa5-431d-8a79-d5c87df48a9c Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
Added Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot for the EditorWorkspaceDocument, add a custom ToString that emits the full path of the document. |
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/7e3e8a1d-f66b-4f87-8bde-eb0dd19f928c Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
Added Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot Add a Saved bool getter property that shows whether the document is saved or unsaved. Update the ToString to only show the filename and the status. Example ToString: "File1.cs" if saved, "File1.cs [Unsaved]" if unsaved. |
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/3e87bc0c-ffcc-4ce4-9b08-22d248a3f5db Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/3e87bc0c-ffcc-4ce4-9b08-22d248a3f5db Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
Implemented in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot test failure Failed! - Failed: 1, Passed: 211, Skipped: 1, Total: 213, Duration: 45 s - Microsoft.PowerShell.EditorServices.Test.dll (net8.0) |
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/6285ab7f-3d36-4174-84cd-57dcebf32386 Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/6285ab7f-3d36-4174-84cd-57dcebf32386 Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
Fixed in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot Use the existing IsInMemory property instead of defining a new IsSaved |
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/b2f2d9b7-95c7-413b-8a23-7845a964c98a Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/b2f2d9b7-95c7-413b-8a23-7845a964c98a Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
Updated in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot Update tests to fix: New changes in casting were made, update the tests to match the current code |
Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/2e354cc4-b0b9-4177-8ac1-8826e0921553 Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com>
Updated in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
EditorWorkspaceTeststo match currentDocumentsreturn typeEditorWorkspaceTests(blocked by package feed/network restore failures)