mathworks / mathworks/MATLAB-extension-for-vscode

Change in terminal when running

Open
#215 0 comments 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

When I use Matlab, I often do some sort of repl by f9 on a selected chunk of code.

Sometimes these involve long running jobs - for example loading a big file.

Currently if I do this via "run selected code" in the vscode extension, obviously the engine is running in the background but the terminal interface is unchanged.

At present I have to do something like ;

LongRunCmd();
disp('done');

Or else I can't tell when the code has actually finished.

Is there a hook we could use to configure something our side? Such as to change the window colour or something (a bit like neovim plugins that allow changing cursor colour based on the mode etc).

Thanks for the extension, it's great!

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 tracing the VS Code extension's "run selected code" flow and how it observes MATLAB engine execution; the issue names no files or tests. Define how the terminal should visibly indicate a running job and its completion, then verify the behavior with a long-running selected command.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.