Skip to content

[idea]: replace spaces by tabs #5

Description

@fcnjd

Hi,
as a developer using a Braille display, frequently working on open source projects, I often find code using space as indentation. Even though that's not how I'd do it on my own code, often you don't have a choice as to use this and work with what's there. So, take a 5th level indentation as an example, using 4 spaces for 1 indent. A 40-cell display would now be half occupied just for indents.
My idea to implement would add an extra setting, reverse to what already exists: Replace spaces by tabs - maybe optionally only consider start of lines. The user would set a given number of spaces, and each occurence is then replaced by a single tab sign. To not make navigation inconsistent, it could be a solution to omit that once a space to be replaced has cursor focus, or add a beep with different height to not remove the detail on which space the cursor is right now.
What's your opinion on that, would it make sense?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions