mathworks / mathworks/MATLAB-extension-for-vscode

Command history panel is missing

Open
#294 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 IDE, if we press the up arrow while the terminal is focused, a command history panel pops up showing the commands that were most recently executed. This panel has a few useful features:

  • It highlights and shows a star next to the current command we're scrolling through
  • It shows a red line to commands that failed
  • It shows a number, e.g., 2x, to show that a command was executed twice
  • It shows a line when multiple commands were executed as a block

But the panel doesn't pop up in VS Code.

Image

To Reproduce
Enter a few commands on the terminal and press the up arrow key.

Expected behavior
A command history panel should pop up.

Useful Information
MATLAB Version: '24.2.0.2740171 (R2024b) Update 1'
VS Code Version: 1.85.2 (system setup)
Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
Date: 2024-01-18T06:40:10.514Z
Electron: 25.9.7
ElectronBuildId: 26354273
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045
Extension Version: 1.3.6

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

Reproduce the issue in the VS Code terminal by entering several commands and pressing the up arrow, using the listed MATLAB and extension versions as context. Trace the extension's terminal history handling and compare the expected panel behavior in the MATLAB IDE; done means the panel appears with its command highlighting, failure markers, execution counts, and block indicators.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
cli, devtools
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.