mathworks / mathworks/MATLAB-extension-for-vscode

Shift + up arrow key does not let you select multiple previously executed commands from the terminal

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

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
435
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
In the MATLAB editor, holding shift and pressing the up arrow key lets you select multiple previously executed commands from the terminal. It looks like this isn't supported in the VS Code extension yet.

To Reproduce

  1. Type disp("hello") in the terminal, press enter, type disp("world") in the terminal, press enter
  2. Hold shift + up arrow
  3. Nothing shows up

Expected behavior
In the MATLAB editor, a list of the previously executed commands pops up and you can select multiple commands.

Useful Information

  • OS Version: "Red Hat Enterprise Linux" VERSION="8.10 (Ootpa)"
  • VS Code Version: 1.96.2

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

Start by reproducing the Shift+Up behavior in the VS Code terminal using the two commands from the report, then trace the extension's terminal command-history handling. Compare it with the described MATLAB editor behavior; done means Shift+Up displays previously executed commands and allows multiple selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
cli, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.