Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add a "scroll to position" function

Open
#635 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, powershell, vscode

Research direction

Start by tracing how Commands sends editor requests and how the VSCode implementation handles editor operations. Review the proposed ShowEditorPositionRequest, the Show-EditorPosition command, and the optional $psEditor API, then compare the VSCode TextEditor.revealRange documentation. Done means the request and command can reveal the requested editor position in VSCode.

Written by the indexing model from the issue text.

Description

Area-Code Navigation Issue-Enhancement

I was looking at implementing some editor commands that scroll to next function/method/thing and none of the current API's scroll. Looks like there was a change at some point that made insert text, set selection, etc not scroll by default in VSCode.

We should implement a new request ShowEditorPositionRequest and add a function (Show-EditorPosition?) to Commands that sends it (and optionally also add it to $psEditor)

The VSCode implementation could use the TextEditor.revealRange method.

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

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.

More from PowerShell/PowerShellEditorServices

All issues in PowerShell/PowerShellEditorServices

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.