mathworks / mathworks/MATLAB-extension-for-vscode
Add RUN+ADVANCE option for sections within a script
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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