Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

case when, case # when and generic casing tabbing broken. #46

Open
@envygeeks

Description

@envygeeks

Atom seems to always want to de-indent when in a case statement in Ruby. It was bad that it always broke the way I like to tab single-line whens but it got worse when I started commenting above the when statement it would then tab behind the case resulting in:

  case true

  # Comment
when arguments then do_work(son)
  end

It would be nice if language-ruby respected our custom tabbing and didn't try to enforce crazy rules, please, because I like my single line whens to look like:

case true
  when argument then do_work(son)
end

But editing always breaks the tabbing in some way especially when you start commenting.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions