Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PSEditor should expose a list of open documents from the LSP #2284

Copy link
Copy link
@JustinGrote

Description

@JustinGrote
Issue body actions

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been requested.

Summary

PSEditor is an interface to PSES for the user. We expose the workspace and folders but we don't expose currently open documents from the LSP.

Proposed Design

The $PSEditor.Workspace variable is of type Microsoft.PowerShell.EditorServices.Extensions.EditorWorkspace.

This class should have a Documents property that enumerates all documents in the current workspace that are open in PSES. The documents should have Open and Save methods that map to the OpenFile and SaveFile methods of the EditorWorkspace.

Use commit 29617f8 as a reference.

Reactions are currently unavailable

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.