Skip to content

Feature Request: option to dedent the ending bracket when splitting a function call/dict/etc. across multiple lines #127

@coredumperror

Description

@coredumperror

What the code looks like before pressing enter:

print(
    "Hello world!"|)
{
    "foo": "bar"|}

What I want the code to look like after pressing enter:

 print(
     "Hello world!"
|)
 {
     "foo": "bar"
|}

What the code actually looks like after pressing enter:

print(
    "Hello world!"
   |)
{
    "foo": "bar"
   |}

I would love to have an option in the settings to enable this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions