Skip to content

Implement "Indent Model" #4182

Open
Open
@gilescope

Description

@gilescope

I didn't know that backspace could be improved. How wrong I was! I hope JetBrains roll out Clion backspace handling across all their products. I'd also love to see it in Rust Analyzer.

There's already special enter key handling so backspace should be possible...

I think the rules are that the first backspace takes you up a level in indentation, but then the second gobbles up all the whitespace to the start of the line and the line brake so that it appends onto the end of the previous line. This turns out to be what I wanted to do so much of the time - it feels so natural.

Small things make such a difference. Well done Clion for bringing a better backsapce to the world.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-formattingformatting of r-a output/formatting on saveC-enhancementCategory: enhancementE-hardS-unactionableIssue requires feedback, design decisions or is blocked on other workfunA technically challenging issue with high impact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions