Alt+Up and Alt+Down do not control history when interactive window launches pinned.

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
devtools

Research direction

Reproduce the pinned C# interactive window workflow described in the issue, then inspect the CommandFilter handling for VsStd12 and MoveSelLinesUp. Compare command routing before and after relaunch; done means Alt+Up and Alt+Down navigate interactive history when the window is restored from a pinned tab.

Written by the indexing model from the issue text.

Description

Reported at developer community as https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1178927.

Workflow:

  1. Open VS and dock the C# interactive window to one of the edges.
  2. Pin the window so that it collapses to a tab on the edge.
  3. Close VS
  4. Open VS
  5. Show the C# interactive window by clicking the tab
  6. Execute var a = 5;
  7. Press Alt + Up

Expected Outcome:

The current line should match the previous entry and read var a = 5;

Actual Outcome:

No change to the current line. From debugging the CommandFilter, pguidCmdGroup is VsStd12 and the nCmdID is MoveSelLinesUp.

Dominant language
C#
Stars
78
Forks
44
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 dotnet/interactive-window

All issues in dotnet/interactive-window

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.