Skip to content

Decrease indentation when } character is inserted in emtpy line #266

@aesilevich

Description

@aesilevich

Example code:

func foo() {
  let x = 10
  

The third line contain indentation (two spaces) at the beginning.

How to reproduce:

  1. Move cursor to the end of the third line
  2. Insert the '}' character

The editor will insert the '}' character after indentation. It should decrease indentation when inserting the '}' character. The line after inserting the '}' character should not contain indentation spaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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