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.

Incorrect indentation after case statement #298

Open
@adamreisnz

Description

@adamreisnz

Not sure if this is the right repo or if the language deals with indentation rules, but consider the following:

switch (foo) {
  case 'bar':
  //cursor here after enter on the above line
    //expect indentation to be here, 
    //especially if there are already lines of code indented at this level          
}

Pressing enter after the case 'bar:' statement indents the next line at the same level as case. I would expect it to increase indentation by one unit.

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