PowerShell / PowerShell/PowerShellEditorServices

Can $psEditor get access to screen coordinates?

Open
#243 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-psEditor Issue-Enhancement
Dominant language
C#
Stars
767
Forks
266
Avg merge
3d 16h
Merged PRs (30d)
1

Description

I was wondering if there would be a way to build in a sort of functionality to give $psEditor access to the visible editor screen coordinates? I think there are some really interesting things you can do if this is possible. Creating a hotkey to take a screenshot of just the visible text in the editor, or possibly doing something where you can say take a screenshot of line 1 to 50.

Just curious if anything like this is possible.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file, test, or entry point; begin by identifying where $psEditor exposes editor services and how the host could provide visible screen coordinates. The requested editor support, coordinate semantics, and screenshot behavior are not defined, so those acceptance details need clarification before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.