mathworks / mathworks/MATLAB-extension-for-vscode

Add RUN+ADVANCE option for sections within a script

Open
#324 2 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

In MATLAB proper, CTRL+ENTER runs the current section section and the cursor stays in that section. However, CTRL+SHIFT+ENTER runs the current section and advances the cursor to the next section. One can use this to easily advance through a script, running each section in turn.

VSCODE has the CTRL+ENTER part but not the CTRL+SHIFT+ENTER part. This request is for that feature, i.e., Run Section and Advance.

Thanks!

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 existing CTRL+ENTER command in the VS Code MATLAB extension and identify how it runs the current section. Add the corresponding CTRL+SHIFT+ENTER behavior so it runs the current section and moves the cursor to the next section, then verify the interaction in a MATLAB script with multiple sections.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.