Skip to content

make tabbing in the monaco editor navigate instead of inserting a character#11351

Draft
srietkerk wants to merge 1 commit into
masterfrom
srietkerk-test-sxs-20260604-174252-copilot-claude-opus-4-7
Draft

make tabbing in the monaco editor navigate instead of inserting a character#11351
srietkerk wants to merge 1 commit into
masterfrom
srietkerk-test-sxs-20260604-174252-copilot-claude-opus-4-7

Conversation

@srietkerk
Copy link
Copy Markdown
Contributor

Addresses microsoft/pxt-microbit#6859

This is a draft PR because this needs to be discussed within the team first. Right now in monaco, the toggle (Ctrl+M) to use tab to continue to navigate the page is available, but the user has to know about it. The default behavior is tabbing will insert a tab in the editor space. The proposition in this issue, and which has been implemented in this PR, is to make "tab navigation mode" be the default in the monaco editor. As in, if the user is focused on the workspace and tab, they will continue to navigate the page rather than insert a tab in the document. I think this is pretty big breaking behavior to have this on by default, but copilot cli did this well earlier, and I figured if we do want to ship this, I should have this available.

Upload target: https://makecode.microbit.org/app/68bc469e9693f2c198f3b1007f0bd65e82f9325f-9ec3d8863d#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant