Skip to content

Feature: Handle spaces as tabs in a code block #8410

@levensta

Description

@levensta

Description

Shortcut Shift+Tab doesn't work with spaces in a code block. This makes formatting in code blocks more difficult and is incompatible with using prettier in the playground, which uses spaces for indentation

spaces-tab.mov

Impact

It would be nice if the Shift+Tab shortcut could remove indents of 2 or 4 spaces. This would also mean that the space size would need to be entered as an option in extensions CodeShikiExtension and CodePrismExtension

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement over existing feature

    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