Skip to content

Tab key support in code.circuitpython.org #7042

@domdfcoding

Description

@domdfcoding

(I couldn't find an issue tracker for the editor itself, so I'm posting here)

In the CircuitPython web editor, pressing the "tab" key on my keyboard moves focus to the "Editor" button at the bottom of the screen, instead of indenting the code (with a tab or 4 spaces, whichever you prefer), as a desktop editor would. Whilst it's common to navigate controls on a website with the tab key (and may be necessary for some users) it feels out of place in a source code editor.

Would it be possible to add an option to have the tab key indent the code, perhaps alongside the buttons at the top or bottom of the editor? It could even be tri-state: 4 spaces, a tab, or off.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions