microsoft / microsoft/pxt-microbit

Make arrow key trigger next step in debugger

Open
#3,101 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugger help wanted tutorial
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Is your feature request related to a problem? Please describe.
More of a suggested improvement. It is cumbersome to have to click the "Step" button in the debugger for MakeCode.

Describe the solution you'd like
In-addition to clicking, the right-arrow key could be used. This makes it easier to use when going through a large number of steps.

Additional context
This was a user feature request in ticket 37716 from micro:bit support.

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 locating the MakeCode debugger implementation and the handler for the Step button, then inspect how keyboard input is handled there. The change is done when pressing the right-arrow key advances the debugger by one step in the same way as clicking Step, with the existing debugger behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.